[runtime] Fixed `always_inline function might not be inlinable` warning on GCC.
authorJoão Matos <joao@tritao.eu>
Wed, 6 May 2015 14:08:17 +0000 (15:08 +0100)
committerJoão Matos <joao@tritao.eu>
Wed, 6 May 2015 14:08:17 +0000 (15:08 +0100)
This fix was suggested by @schani to the warning spam that we've started to see.

configure.ac

index 8f71c5c4936b4df81aec224427c222eaec3b6266..1fb33d4904c968ca179605534ba1b6446f7778b4 100644 (file)
@@ -531,7 +531,7 @@ AC_ARG_ENABLE(visiblity-hidden,
 
 WARN=''
 if test x"$GCC" = xyes; then
-        WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value'
+        WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes'
 
                # We require C99 with some GNU extensions, e.g. `linux` macro
                CFLAGS="$CFLAGS -std=gnu99"