That appears to be the only new warning, so I guess we should add -Wno- error=nonnull-compare to disable-warnings.patch (this is https://jira.mongodb.org/browse/SERVER-25385).
The next failure is this: In file included from src/mongo/base/parse_number_test.cpp:38:0: src/mongo/base/parse_number_test.cpp:297:49: error: exponent has no digits ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10); ^ src/mongo/unittest/unittest.h:105:93: note: in definition of macro '_ASSERT_COMPARISON' ::mongo::unittest::ComparisonAssertion_##COMPARISON(__FILE__, __LINE__, #a, #b, a, b)) \ ^ src/mongo/unittest/unittest.h:84:29: note: in expansion of macro 'ASSERT_EQ' #define ASSERT_EQUALS(a, b) ASSERT_EQ(a, b) ^~~~~~~~~ src/mongo/base/parse_number_test.cpp:44:9: note: in expansion of macro 'ASSERT_EQUALS' ASSERT_EQUALS(static_cast<TYPE>(EXPECTED_VALUE), v); \ ^~~~~~~~~~~~~ src/mongo/base/parse_number_test.cpp:297:5: note: in expansion of macro 'ASSERT_PARSES' ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10); ^~~~~~~~~~~~~ which I think could be fixed by backporting the SConstruct part of https://github.com/mongodb/mongo/commit/a0c60da29313848e6b4207a8d301d2facdf3fd7c and adding --cxx-std=14 to COMMON_OPTIONS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1610767 Title: ftbfs with gcc 6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-mongodb3.2/+bug/1610767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs