diff --git a/.travis.yml b/.travis.yml index b94994643..76fabf520 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,11 +115,12 @@ before_install: # Ignore some warnings feature.feature known-warnings : suppress : optional incidental propagated ; toolset.flags gcc.compile OPTIONS suppress : - -Wno-uninitialized -Wno-bool-operation -Wno-sign-compare : unchecked ; + -Wno-maybe-uninitialized # this warning is known to give false positives + -Wno-bool-operation -Wno-sign-compare : unchecked ; toolset.flags clang-linux.compile OPTIONS suppress : -Wno-unused-command-line-argument # Sometimes it barks on -I and -stdlib -Wno-nested-anon-types # Boost.Random - -Wno-uninitialized : unchecked ; + : unchecked ; - | # Determining the root branch diff --git a/test/qi/rule1.cpp b/test/qi/rule1.cpp index f1d18909c..da677fbcb 100644 --- a/test/qi/rule1.cpp +++ b/test/qi/rule1.cpp @@ -72,7 +72,9 @@ main() rule a ('a'); rule b ('b'); rule c ('c'); - rule start = (a | b) >> (start | b); + rule start; + + start = (a | b) >> (start | b); BOOST_TEST(test("aaaabababaaabbb", start)); BOOST_TEST(test("aaaabababaaabba", start, false));