------- Comment #1 from pinskia at gcc dot gnu dot org 2009-03-05 20:08 ------- This is because if the header is installed in the system includes directory GCC does not warn about extensions.
If you want to have /tmp/logiciel-check-0.9.6/usr/include in the system include directories use -isystem. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39381