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.
Summary: | created unittest++ project, 'unable to resolve identifiers' error | ||
---|---|---|---|
Product: | cnd | Reporter: | lurscher |
Component: | Code Model | Assignee: | nnnnnk <nnnnnk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lurscher
2010-10-10 20:04:36 UTC
Simple example: #define TEST(name) class Test##name { virtual void RunImpl(); } test##name##Instance; void Test##name::RunImpl() TEST(basic) { int var; }; TEST(name2) { int var2; //<-------Unable to resolve indentifier 'var' }; Strange... It's depends on name. Error disappears if you delete 'c' in 'basic'. there are a lot of messages on console: Reference storage returns CLASS Testbasic[299-310][22:1-22:12] where is expected macro Reference storage returns CLASS Testname2[330-341][26:1-26:12] where is expected macro |