[Bug c++/12659] New: braces & default constructor & greater sign -> parse error
joerg dot richter at pdv-fs dot de
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 14:34: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=12659
Summary: braces & default constructor & greater sign -> parse
error
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joerg dot richter at pdv-fs dot de
CC: gcc-bugs at gcc dot gnu dot org
Just try to compile this:
----
int main()
{
( int() > 0 );
}
----
This bug is at least in 3.2.1 and 3.3.1
Workarounds:
- remove braces
- exchange > with <
More information about the Gcc-bugs
mailing list