This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17015] New: g++ parser chokes on variable names "and" and "or"
- From: "felawka at mail dot desy dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2004 11:20:36 -0000
- Subject: [Bug c++/17015] New: g++ parser chokes on variable names "and" and "or"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following simple program will not compile:
typedef struct _aSelection
{
struct _aSelection *and, *or;
} aSelection;
int main( int argc, char *argv[] )
{
return 0;
}
--
Summary: g++ parser chokes on variable names "and" and "or"
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: felawka at mail dot desy dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17015