Howto configure QTCreator's Clang backend to treat c as c++ files
Unsolved
Qt Creator and other tools
-
My application was originally written in C (it has been around for more than a decade). Additions are written in C++. Loading a .c file into the editor of QTCreator will give me lot's of annotations. I know I could change the extension to .cpp to solve this. However if I do so, I lose the version history of the given source file (I use Tortoise SVN for vesion control).
-
@ThisIsEusch said in Howto configure QTCreator's Clang backend to treat c as c++ files:
However if I do so, I lose the version history of the given source file (I use Tortoise SVN for vesion control).
This is a wrong assumption. Renaming in svn will not kill the history.
If you want that a compiler treat a file as c++ file, rename it to .cpp