David Haufe
01/11/2022 4:33 AM
post121668
|
Hello,
I would like to use the <a href="https://github.com/nlohmann/json">nlohmann/json</a> library under QNX 6.6 for an
ARMv7le.
Since this library is supposed to run under Vanilla C++11, but only under GCC 4.8. <
That's why Iadded <a href="https://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gcc.gcc_4_8">this one<
/a> under QNX 6.6.
Also the <a href="https://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.binutils.binutils_2_25">
Binutils 2.25</a> under qnx 6.6.
Now I can build the whole thing "a little" further. But I now get errors with some C++11 standard libraries under qnx,
affected seem to be cmath, underlying math.h; cstdio; string;
The compiler outputs the following:
Description Resource Path Location Type
'isfinite' is not a member of 'std' parser.hpp ../external/json/include/nlohmann/detail/input line 261 C/C++ Problem
Description Resource Path Location Type
'isinf' is not a member of 'std' binary_writer.hpp ../external/json/include/nlohmann/detail/output line 199 C/C++
Problem
Description Resource Path Location Type
'signbit' is not a member of 'std' to_chars.hpp ../external/json/include/nlohmann/detail/conversions line 1063 C/C++
Problem
Description Resource Path Location Type
'snprintf' is not a member of 'std' binary_reader.hpp ../external/json/include/nlohmann/detail/input line 322 C/C++
Problem
Description Resource Path Location Type
'std::to_string' has not been declared iteration_proxy.hpp ../external/json/include/nlohmann/detail/iterators line 20 C/
C++ Problem
Description Resource Path Location Type
'stoull' is not a member of 'std' json_pointer.hpp ../external/json/include/nlohmann/detail line 191 C/C++ Problem
For example, when I remove std:: I get this error message :'isfinite' was not declared in this scope
sincerely david haufe
|
|
|