No such problems here...
Is it *really* a C++ project. To check, open the project Properties, C/C++ Build->Settings - Is the MCU C++ Compiler shown?
Otherwise, can you export your project (or a version that reproduces the problem) and post it here, so that somebody can identify the issue.