Browse Source

Don't have GCC warn about missing initializers.

# Some versions of GCC warn about some versions of Boost regarding
# missing initializer for members in its posix_time.
# https://svn.boost.org/trac/boost/ticket/3477

I also did this in r3835 but for got to to the tests too.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3840 e5f2f494-b856-4b98-b285-d166d9295462
Jeremy C. Reed 14 years ago
parent
commit
fe06277e37
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/lib/nsas/tests/Makefile.am

+ 7 - 0
src/lib/nsas/tests/Makefile.am

@@ -11,6 +11,13 @@ AM_LDFLAGS += -static
 endif
 AM_LDFLAGS += -lboost_thread
 
+if USE_GXX
+# Some versions of GCC warn about some versions of Boost regarding
+# missing initializer for members in its posix_time.
+# https://svn.boost.org/trac/boost/ticket/3477
+AM_CXXFLAGS += -Wno-missing-field-initializers
+endif
+
 CLEANFILES = *.gcno *.gcda
 
 TESTS =