I'm running into a problem that I did not have in previous versions of gcc (I'm running 3.3.2-1 - shipped with Redhat Fedora Core1)
previous versions of gcc only gave me warnings on this code:
typedef struct DigitalMonitorPhotometry { union { struct { DMC Brightness; DMC Contrast; DMC RedGain; DMC GreenGain; DMC BlueGain; DMC RedBias; DMC GreenBias; DMC BlueBias; }; struct { DMC dmp[8]; }; }; }DM_PHOTOMETRYSETUP;
However, now I get: error: ISO C++ prohibits anonymous structs
This used to be a worning under previous gcc versions.
Now, this works under M$, Codewarrior (with a pragma) and other versions of gcc...do I need to be adding a new flag here, or is this something that just is no longer supported.
Ben Guthro Sequel Imaging - A GretagMacbeth Company 603-425-2170