Add -fno-deduce-init-list for template constructor

When using variadic template constructors which forward their arguments
to base classes we tend to get a lot of warnings about auto deduction of
initializer_list types from aggregate initialiser syntax. As this is
apparently expected to be removed from the standard we'll hide the
warnings this way.
This commit is contained in:
Danny Robson 2012-05-18 17:53:23 +10:00
parent 700245b5bf
commit a195f47bdf

View File

@ -198,7 +198,7 @@ fi
## Output ## Output
COMMON_CXXFLAGS="-std=c++0x -pipe -include config.h $WARNING_FLAGS $OPTIMISATION_FLAGS $COMMON_CFLAGS" COMMON_CXXFLAGS="-std=c++0x -fno-deduce-init-list -pipe -include config.h $WARNING_FLAGS $OPTIMISATION_FLAGS $COMMON_CFLAGS"
COMMON_LDFLAGS="$COMMON_LDFLAGS " COMMON_LDFLAGS="$COMMON_LDFLAGS "
AC_SUBST(COMMON_CXXFLAGS) AC_SUBST(COMMON_CXXFLAGS)