This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Netbeans is treating my c++(using extension .cpp) files as c files. I selected c++ when i created the project. Under each files properties in all configurations the build tool is set to c++ compiler. It wasn't always doing this to me so the problem might not be easily recreatable.
(In reply to comment #0) > Netbeans is treating my c++(using extension .cpp) files as c files. What is file icon of *.cpp files in project view? Also look at Tools->Options->C/C++->Other > I selected c++ when i created the project. What do you mean? Provide steps to repeat.
user answer: The icon was just a c and not cc for .cpp files. Also I haven't found a way to repeat it just yet but I'm pretty sure it happened because I accidentally went File > New File > C source file (When I should have used c++) and for the extension I changed it to .cpp because I didn't realize my mistake. after that netbeans always treated .cpp files as C language files until I uninstalled and reinstalled it. Let me know if you need anything else.