[Bug c/34000] GCC pedwarns about use of static inline functions from system headers in extern inline functions

2008-02-12 Thread lennox at cs dot columbia dot edu
--- Comment #6 from lennox at cs dot columbia dot edu 2008-02-12 15:49 --- (In reply to comment #4) The problem occurs equally with gnu89 extern inline functions as with c99 inline functions (as seen in the initial bug report), so using static inline when !__GNUC_STDC_INLINE__ still

[Bug c/34000] GCC pedwarns about use of static inline functions from system headers in extern inline functions

2008-02-11 Thread lennox at cs dot columbia dot edu
--- Comment #3 from lennox at cs dot columbia dot edu 2008-02-11 19:51 --- A discussion on comp.std.c http://groups.google.com/group/comp.std.c/browse_thread/thread/8118ae4c53a4de60 indicates that this is indeed a constraint violation; the poster thinks that system headers should be

[Bug c/34000] GCC pedwarns about use of static inline functions from system headers in extern inline functions

2008-02-11 Thread mrs at apple dot com
--- Comment #4 from mrs at apple dot com 2008-02-12 01:28 --- We fixed the mmintrin.h issues by using inline when __GNUC_STDC_INLINE__, and static inline otherwise in our tree. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34000