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: | On Windows "New C++ Simple Test" and "New CppUnit Test" wizards generates wrong code | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | -- Other -- | Assignee: | nnnnnk <nnnnnk> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | rbalada |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | exception when i am creating CUnit test (trunk only) |
Description
soldatov
2010-06-09 08:30:47 UTC
On Windows instead of #include "cpu.h" IDE adds forward declarations (but it works If file contains functions). Compiler fails on: Cpu::Cpu(int type, int architecture, int units); const char* Cpu::GetCategory(); const char* Cpu::GetType(); Created attachment 100202 [details]
exception when i am creating CUnit test (trunk only)
verified UnitTests on different machines and this problem is fixed fixed verified in trunk. (In reply to comment #5) > fixed Nick, please confirm the changeset info missing from your comment #5 should be http://hg.netbeans.org/cnd-main?cmd=changeset;node=27d1f6fed08e Thanks, -R yes, that's right. comment 5 should contain http://hg.netbeans.org/cnd-main?cmd=changeset;node=27d1f6fed08e so fix contains two changesets http://hg.netbeans.org/cnd-main?cmd=changeset;node=27d1f6fed08e http://hg.netbeans.org/cnd-main?cmd=changeset;node=65c33d1d85c9 main #65c33d1d85c9 transplanted to release691 #cb4a56f90650 main #27d1f6fed08e transplanted to release691 #65613ed4c8ac verified in 6.9.1 |