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 "help" attached to the c++ properties dialog that allow you to add definitions does not describe how to "define" defines. It doesn't say whether to use -Dname=value or just name=value (or just name). I started out by simply copying -D lines from the makefile (which I should not were *not* picked up when I created the project). But when certain things were not defined I changed the defines spec to name=value. Documentation should say that. Or should accept the -D definitions and show them as name/value pairs.
Product Version: NetBeans IDE Dev (Build 200910170201) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 System: Linux version 2.6.31.1-56.fc12.x86_64 running on amd64; UTF-8; en_US (nb) Userdir: /home/toddb/.netbeans/dev
I think this is fixed, based on by experience with netbeans-trunk-nightly-201209190001-linux.sh Actually its pretty nice... I can paste multiple -DSYMBOL=VALUE into the summary of defines and it strips the -D and separates the defines.