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++/972: parse error on initialization



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

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