GNOME Bugzilla – Bug 87823
0.4.0 release not GCC 3.1 compliant
Last modified: 2004-12-22 21:47:04 UTC
after trying to build gst-plugins-0.4.0 using gcc 3.1 i got a couple of warnings related to /usr/local/include in wrong searchpath. this is a known new feature from gcc 3.1 and not a bug of my system. the problem is you people have -Werror hardcoded into the configure script that cant be overwritten with --disable-more-warnings or some stuff. at the end the compiler warning will become a real error and exits. there are two ways for me to fix this. a) remove -Werror from the configure to skip that output b) fix tweak the makefiles by removing -I/usr/local/include to get things compiled.
Created attachment 9771 [details] here some informations.
the attachment is in .tar.bz2 format, by the way. Basically, the problem is that dependency libraries could add system include dirs through their m4 macros or pkg-config files, which get added to the CFLAGS line, which makes the gcc 3.1 compiler give a warning. We should figure out how other projects deal with this, and if we should make upstream fixes for all dependency libs to not export system include dirs. Don't know if that's possible though, will have to be researched.
hmm i rethought about that issue is it possible to have a workaround for the first e.g. a check for gcc 3.x and if so then exclude the "-Werror" CFLAGS ?
*** This bug has been marked as a duplicate of 89622 ***
This should now be fixed in CVS by adding a macro that scrubs CFLAGS. If I missed it for any dependency, let me know.
Not heard anything back, assume this is now working.