error: `.' cannot appear in a constant-expression in gcc 3.4.2 version
anandi.thirunavukkarasu@wipro.com
anandi.thirunavukkarasu@wipro.com
Fri Dec 9 15:43:00 GMT 2005
I am using a switch case statement in my code. The case condition checks
for a "class object.value".
This is throwing an error saying
error: `.' cannot appear in a constant-expression
The same code works fine in other versions of gcc (i.e. 2.96 ). But I
encounter this problem in gcc 3.4.2 version.
Can u help me with a fix for this issue?
More information about the Gcc-help
mailing list