Nadav Sagie
Nadav Sagie

Reputation: 31

Does GCC 7.3 contain all c++17 features?

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

Upvotes: 3

Views: 1533

Answers (1)

eerorika
eerorika

Reputation: 238491

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.

Upvotes: 4

Related Questions