This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/2301: g++ syntax error ?



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]