Changeset 7583


Ignore:
Timestamp:
Jan 2, 2009, 8:25:48 PM (12 years ago)
Author:
charles
Message:

if we're building with gcc, add "-std=gnu99" to CFLAGS s.t. we get warnings for badly-formed inline functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r7575 r7583  
    5050AC_C_INLINE
    5151if test "x$GCC" = "xyes" ; then
    52     CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement"
     52    CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -std=gnu99"
    5353    CXXFLAGS="-Wall -Wformat-security -W"
    5454fi
Note: See TracChangeset for help on using the changeset viewer.