-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I'm trying to compile mongodb 3.4.2 with GCC 6.3 for ARM 64bit.
Linux jessie64 3.14.79+ #1 SMP PREEMPT Tue Feb 7 10:57:43 UTC 2017 aarch64 GNU/Linux
Compiling build/opt/mongo/base/parse_number_test.o
In file included from src/mongo/base/parse_number_test.cpp:37:0:
src/mongo/base/parse_number_test.cpp:295:49: error: exponent has no digits
ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10);
^
src/mongo/unittest/unittest.h:106:93: note: in definition of macro '_ASSERT_COMPARISON'
::mongo::unittest::ComparisonAssertion_##COMPARISON(__FILE__, __LINE__, #a, #b, a, b)) \
^
src/mongo/unittest/unittest.h:85: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:295:5: note: in expansion of macro 'ASSERT_PARSES'
ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10);
^~~~~~~~~~~~~
scons: *** [build/opt/mongo/base/parse_number_test.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/base/parse_number_test.o failed: Error 1
- duplicates
-
SERVER-23420 Remove use of GNU extensions in parse_number_test.cpp
-
- Closed
-