[Bug c++/12914] New: Pasring Error When Compling "int(int(iMyValue)"
dekun dot cao at cognos dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 17:32:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12914
Summary: Pasring Error When Compling "int(int(iMyValue)"
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dekun dot cao at cognos dot com
CC: gcc-bugs at gcc dot gnu dot org
Error message "error: parse error before `==' token" when compling the
following line of code
int iMyValue = 100;
assert(int(int(iMyValue)) == 50);
However, the following code is OK:
int iMyValue = 100;
assert(int(iMyValue) == 50);
The OS platform we are using is Red Hat Enterprise Linux WS 2.1.
Thanks
Dekun
More information about the Gcc-bugs
mailing list