public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2301: g++ syntax error ?
@ 2001-03-16 14:16 Ross Smith
0 siblings, 0 replies; 2+ messages in thread
From: Ross Smith @ 2001-03-16 14:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/2301; it has been noted by GNATS.
From: Ross Smith <ross.s@ihug.co.nz>
To: philippe.jouguet@vdldiffusion.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/2301: g++ syntax error ?
Date: Sat, 17 Mar 2001 11:08:23 +1300
philippe.jouguet@vdldiffusion.com wrote:
>
> >Description:
> Is 'compl' a reserved word ?
Yes. See 2.11 para 2 of the C++ standard.
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"Hungarian notation is the tactical nuclear weapon of
source code obfuscation techniques." -- Roedy Green
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/2301: g++ syntax error ?
@ 2001-03-16 6:06 philippe.jouguet
0 siblings, 0 replies; 2+ messages in thread
From: philippe.jouguet @ 2001-03-16 6:06 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-16 14:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-16 14:16 c++/2301: g++ syntax error ? Ross Smith
-- strict thread matches above, loose matches on Subject: below --
2001-03-16 6:06 philippe.jouguet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).