mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 12:02:36 +01:00
do not use of UINT64_C
This commit is contained in:
parent
f315dc603e
commit
ea52ac5358
@ -22,7 +22,6 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
using Poco::NumberParser;
|
||||
@ -93,9 +92,6 @@ void NumberParserTest::testParse()
|
||||
assert(NumberParser::parse64("-123") == -123);
|
||||
assert(NumberParser::parse64("0123") == 123);
|
||||
assert(NumberParser::parse64("-0123") == -123);
|
||||
#if defined(POCO_ENABLE_CPP11)
|
||||
assert(NumberParser::parse64("123456789123456789") == UINT64_C(123456789123456789));
|
||||
#endif
|
||||
assert(NumberParser::parseUnsigned64("123") == 123);
|
||||
assert(NumberParser::parseHex64("12AB") == 0x12ab);
|
||||
assert(NumberParser::parseOct64("123") == 0123);
|
||||
|
Loading…
Reference in New Issue
Block a user