I’m currently using VisualGDB to develop a Raspberry Pi PICO app and wondering how to specify the C++ language version (since I’m looking to use C++17 in this project). The default setup I have doesn’t recognize std::apply. Is there any way to specify the use of C++17 here?
Pico SDK projects are based on the Advanced CMake project subsystem, so they follow the settings layout of the CMake projects. You can specify the language standard on the target level by selecting a target (node with the console icon) in Solution Explorer, going to its properties, and changing C/C++ -> Advanced -> Language Standard for C++ files.
Ok thanks. Upon further investigation I found out that the problem was more about IntelliSense not recognizing some version features but it ended up compiling in the end.