Yo,

as some of you already knows, there is an issue with the fink in CVS - its use of -isystem /sw/include instead of -I/sw/include causes gcc to produce a warning when both are used at once (this happens frequently enough when e.g. tools like sdl-config or pkg-config have them as part of their CFlAGS etc.). Now this in its own wouldn't be a problem. However, the autoconf generated configure scripts perform for various of their configure checks a compile with gcc and these parameters. Unfortunatly, they don't just check the return value of gcc, rather they assume that no output = no error and any output = error. Which in this case means that various fails will suddenly fail even though by all rights they should succeed.

What makes this worse is that there is no way in Apple's GCC to just turn off this warning (I am told that GCC 3.2.x changed the behaviour of -isystem, and no warnings is issued now anymore). The only way to get rid of the warnings thus would be to globaly pass the -w flag, too, in order to turn off all warnings.

In general, I don't think that turning of these warnings will hurt (except maybe when trying to debug package issues), but what is your view on this? Any better solutions come to mind? Any issues with -w I am overlooking? Please tell!

I might not get back to this thread to soon (nor to any of the other open threads on fink-devel), as I am still in the middle of exams and writing papers (at least I succesfully passed my first oral exam today).


Cheers,

Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to