------- 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 fixed.

I don't think it would be possible to write a fixincludes fix to turn static
inlines into GNU89 or C99 extern inlines, however, so I think suppressing the
pedwarn for system headers is the best option.


-- 

lennox at cs dot columbia dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GCC pedwarns about use of   |GCC pedwarns about use of
                   |static inline functions in  |static inline functions from
                   |extern inline functions     |system headers in extern
                   |                            |inline functions


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

Reply via email to