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.
Build from Hudson: Product Version: NetBeans IDE Dev (Build 20080901093718) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.21.4-eeepc running on i386; UTF-8; en_US (nb) Userdir: /home/user/userdir.cnd Into a new empty C++ file paste this: ------------------------------ typedef struct A { const char *aa; }; A a[1]; ------------------------------ The "aa" is marked with error "Unable to resolve identifier aa", which does not seem correct. $ gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. seem to compile this code without complaints. P4 as the code is really strange, and converting it into a more reasonable form (deleting "typedef" or moving/copying the "A" to the correct place for typedef) makes the error to disappear.
fixed: http://hg.netbeans.org/main?cmd=changeset;node=c5f85b01107c
Integrated into 'main-golden', will be available in build *200809020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c5f85b01107c User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#145822: unresolved members of typedefed class