Does GCC 7.3 contain all c++17 features?

1k Views Asked by At

I'm trying to build CMake project that use c++17 dialect with the CMake command:

set_target_properties(${PROJECT_NAME} PROPERTIES
    CXX_STANDARD 17
    CXX_EXTENSIONS OFF
)

I see that it set the compiler flag "-std=c++1z", but I still getting errors that indicate for not sufficient c++ dialect:

error: ‘reduce’ was not declared in this scope error: ‘to_chars_result’ was not declared in this scope

which is suppose to come from and from c++ 17

This project does compile when I'm build it with windows

1

There are 1 best solutions below

3
On

Does GCC 7.3 contain all c++17 features?

No. The compiler has all language features according to documentation, but the standard library is missing a few things.