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.
The C build-in macro's __LINE__ and __FILE__ are no longer recognized by Netbeans. The editor lists this as an unresolved identifier. If you check the list of macros in Tools->Options->C++->Code Assistance, you'll see that in the Macro Definitions listing, __LINE__ and __FILE__ are not listed. A workaround is to switch back to netbeans 7.4 (which is what I'm doing for now).
Hello. I checked trunk and it works fine for me. int foo() { if (__FILE__) { return __LINE__; } } Could you, please, try dev build, start with clean userdir and check. http://bits.netbeans.org/dev/nightly Thanks! Vladimir.