|
[yoda-svn] yoda: add -Wno-unused-variable if availableYODA Mercurial yoda at projects.hepforge.orgWed Oct 21 21:15:01 BST 2015
details: https://yoda.hepforge.org/hg/yoda/rev/4fd604e36db2 branches: changeset: 1159:4fd604e36db2 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Wed Oct 21 21:13:26 2015 +0100 description: add -Wno-unused-variable if available diffs (10 lines): --- a/configure.ac Wed Oct 07 14:38:27 2015 +0100 +++ b/configure.ac Wed Oct 21 21:13:26 2015 +0100 @@ -76,6 +76,7 @@ AC_CEDAR_CHECKCXXFLAG([-pedantic], [AM_CXXFLAGS="$AM_CXXFLAGS -pedantic"]) AC_CEDAR_CHECKCXXFLAG([-Wall], [AM_CXXFLAGS="$AM_CXXFLAGS -Wall -Wno-format"]) dnl AC_CEDAR_CHECKCXXFLAG([-std=c++98], [AM_CXXFLAGS="$AM_CXXFLAGS -std=c++98"]) +AC_CEDAR_CHECKCXXFLAG([-Wno-unused-variable], [AM_CXXFLAGS="$AM_CXXFLAGS -Wno-unused-variable"]) ## Debug flag (default=none) AC_ARG_ENABLE([debug], [AC_HELP_STRING(--enable-debug, [build with debugging symbols @<:@default=no@:>@])], [], [enable_debug=no])
More information about the yoda-svn mailing list |