This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations



------- Comment #3 from jakub at gcc dot gnu dot org  2008-10-27 12:02 -------
What the proper fix is depends on what semantics do you want.
If you want the GNU89 extern inline semantics unconditionally, then
use extern inline __attribute__((gnu_inline)).  If you want C99 inline
semantics,
make sure you are compiling with -std=c99 or -std=gnu99 always, don't pass
-fgnu89-inline.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]