This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/972: parse error on initialization
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/972: parse error on initialization
- From: rovf at earthling dot net
- Date: 4 Dec 2000 09:01:33 -0000
- Reply-To: rovf at earthling dot net
>Number: 972
>Category: c++
>Synopsis: parse error on initialization
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Dec 04 01:06:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Ronald Fischer
>Release: gcc 2.95.2
>Organization:
>Environment:
solaris 2.6
>Description:
The enclosed program is rejected with
bug2.cc: In function `Integral f()':
bug2.cc:4: parse error before `;'
>How-To-Repeat:
>Fix:
remove redundant parentheses
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug2.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug2.cc"
dGVtcGxhdGU8dHlwZW5hbWUgSW50ZWdyYWw+CkludGVncmFsIGYoKQp7CiAgICBJbnRlZ3JhbCBu
PUludGVncmFsKCk7IC8vIGluaXRpYWxpemUgSW50ZWdyYWwKICAgIHJldHVybiBuOwp9Cgp2b2lk
IGcoKQp7CiAgICBmPGludD4oKTsKfQo=