This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/2301: g++ syntax error ?
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2301: g++ syntax error ?
- From: philippe dot jouguet at vdldiffusion dot com
- Date: 16 Mar 2001 14:05:34 -0000
- Reply-To: philippe dot jouguet at vdldiffusion dot com
>Number: 2301
>Category: c++
>Synopsis: g++ syntax error ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 06:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: philippe jouguet
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-77.1)
>Organization:
>Environment:
redhat 7.0
kernel 2.2.16-22
update gcc to 2.96-77.1
>Description:
Is 'compl' a reserved word ?
g++ test.cxx :
test.cxx: In function `int main (int, char **)':
test.cxx:3: parse error before `;'
>How-To-Repeat:
int main (int argc, char ** argv) {
int compl ;
}
>Fix:
int main (int argc, char ** argv) {
int otherwordisok ;
}
>Release-Note:
>Audit-Trail:
>Unformatted: