After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 484460 - gcc 4.2 warns on gutils.h inline functions
gcc 4.2 warns on gutils.h inline functions
Status: RESOLVED DUPLICATE of bug 315437
Product: glib
Classification: Platform
Component: general
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-10-07 17:28 UTC by Philipp Zabel
Modified: 2007-10-07 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use the gnu_inline function attribute for gcc 4.2 (635 bytes, patch)
2007-10-07 17:30 UTC, Philipp Zabel
none Details | Review

Description Philipp Zabel 2007-10-07 17:28:57 UTC
GCC 4.2 warns about non-static inline functions in gnu99 or c99 mode (http://gcc.gnu.org/gcc-4.2/changes.html). These warnings can be suppressed by using the gnu_inline function attribute if the __GNUC_GNU_INLINE__ preprocessor macro is set.
Comment 1 Philipp Zabel 2007-10-07 17:30:08 UTC
Created attachment 96837 [details] [review]
use the gnu_inline function attribute for gcc 4.2
Comment 2 Tim Janik 2007-10-07 17:59:52 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 315437 ***