[Bug 296680] New: glib-2.0: C99 inline functions are not supported
https://bugzilla.novell.com/show_bug.cgi?id=296680 Summary: glib-2.0: C99 inline functions are not supported Product: openSUSE 10.3 Version: Alpha 7 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: nderkach@gmail.com QAContact: qa@suse.de Found By: --- Compiling on the latest factory with glib2-2.13.7-3 I get a error "C99 inline functions are not supported", example: /usr/include/glib-2.0/glib/gutils.h:316: warning: C99 inline functions are not supported; using GNU89 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=296680#c1
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=296680#c2
--- Comment #2 from Nikolay Derkach
I'm reassigning to our GNOME maintainers, but I'd guess there's a -std=c99 or -std=gnu99 missing in the compiler flags. Without one of these C99 inline functions are indeed not supported.
No, -std=gnu99 is not missing. I introduce clarity with the full build log attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=296680#c3
--- Comment #3 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=296680#c4
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=296680#c5
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=296680#c6
--- Comment #6 from Nikolay Derkach
This option is accepted by GCC versions 4.1.3 and up. In GCC versions prior >to 4.3, C99 inline semantics are not supported, and thus this option is >effectively assumed to be present regardless of whether or not it is >specified; the only effect of specifying it explicitly is to disable warnings >about using inline functions in C99 mode.
I just don't get it, why compilation with GCC 4.1.2 and earlier haven't failed? GCC there was also called with -std=gnu99 flag. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=296680#c7
--- Comment #7 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=296680#c8
--- Comment #8 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=296680#c9
--- Comment #9 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=296680
Philipp Thomas
participants (1)
-
bugzilla_noreply@novell.com