RPi PICO & C++ version

Sysprogs forums Forums VisualGDB RPi PICO & C++ version

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33999
    mblack
    Participant

    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?

    Thanks,

    – Mike

    #34019
    support
    Keymaster

    Hi,

    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.

    #34037
    mblack
    Participant

    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.

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.