This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to globally enable --cpp11 without compiling .c files as cpp?

Hi There,

I have both .cpp and .c files in my project. I recently wanted to use some C++11 features in my project, so I enabled --cpp11 in the uvision project. This worked great on my CPP files, but miserably broke my compile for my .c files.

I could go and regroup all the project files into cpp and .c files, and then add a misc-control only for that group, but it breaks the strucutre a and I don't prefer this path.

Is it possible to globally enable C++11 when compiling in C++ but not enable C++ on my .c files?

Thanks