Created c++ project

Sysprogs forums Forums VisualGDB Created c++ project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25977
    Johanan
    Participant

    I try to creat a new project,  stm32 and selecting c++. But the genarted files are  c like main.c and not CPP.

    What am I doing wrong?

    #25991
    support
    Keymaster

    Hi,

    Most likely you are cloning a project sample that was not tested in C++ mode and can be only created as a C project.
    Please consider changing the main file extension to .cpp, although you may need to adjust the sample code accordingly.

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