- Code: Select all
g++-4.7 -Iinclude -I/home/killerbot/SelfBuild/poco-1.4.4/CppUnit/include -I/home/killerbot/SelfBuild/poco-1.4.4/Foundation/include -I/home/killerbot/SelfBuild/poco-1.4.4/XML/include -I/home/killerbot/SelfBuild/poco-1.4.4/Util/include -I/home/killerbot/SelfBuild/poco-1.4.4/Net/include -Wall -Wno-sign-compare -std=c++11 -DPOCO_BUILD_HOST=XIII -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL -DPOCO_HAVE_IPv6 -g -D_DEBUG -c src/NumberParser.cpp -o /home/killerbot/SelfBuild/poco-1.4.4/Foundation/obj/Linux/x86_64/debug_static/NumberParser.o
src/NumberParser.cpp: In static member function ‘static bool Poco::NumberParser::tryParse64(const string&, Poco::Int64&)’:
src/NumberParser.cpp:127:42: error: unable to find string literal operator ‘operator"" I64_FMT’
src/NumberParser.cpp: In static member function ‘static bool Poco::NumberParser::tryParseUnsigned64(const string&, Poco::UInt64&)’:
src/NumberParser.cpp:144:42: error: unable to find string literal operator ‘operator"" I64_FMT’
src/NumberParser.cpp: In static member function ‘static bool Poco::NumberParser::tryParseHex64(const string&, Poco::UInt64&)’:
src/NumberParser.cpp:161:42: error: unable to find string literal operator ‘operator"" I64_FMT’
src/NumberParser.cpp:162:1: warning: control reaches end of non-void function [-Wreturn-type]
src/NumberParser.cpp: In static member function ‘static bool Poco::NumberParser::tryParseUnsigned64(const string&, Poco::UInt64&)’:
src/NumberParser.cpp:145:1: warning: control reaches end of non-void function [-Wreturn-type]
src/NumberParser.cpp: In static member function ‘static bool Poco::NumberParser::tryParse64(const string&, Poco::Int64&)’:
src/NumberParser.cpp:128:1: warning: control reaches end of non-void function [-Wreturn-type]
I changed the build/config/Linux on the following lines
- Code: Select all
CXXFLAGS = -Wall -Wno-sign-compare -std=c++11
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL -DPOCO_HAVE_IPv6
the latter one : -DPOCO_HAVE_IPv6
the former one : -std=c++11
Any ideas, fixes ?





