On 11/16/05, Martin Costabel <[EMAIL PROTECTED]> wrote:
> Alexander K. Hansen wrote:
> []
> > | #include <pi-version.h>
> > | int
> > | main ()
> > | {
> > |
> > | int main()
> > | {
>
> It is rather surprising that earlier gcc versions accepted such
> ridiculous code. I think this nested main() comes from a broken
> configure.in file. The authors didn't bother to look up how to use the
> AC_TRY_COMPILE macro and put an extra "int main()" in that should not be
> there.
>
> --
> Martin
>

It does indeed look to be that the newer gcc version isn't tolerant of
these irregularities, since with XCode 2.1 the package builds.

--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to