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]
Other format: [Raw text]

c++/7866: compile error when bit field has same name as namespace


>Number:         7866
>Category:       c++
>Synopsis:       compile error when bit field has same name as namespace
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 09 08:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Wilson
>Release:        3.0.3
>Organization:
>Environment:
Linux
>Description:
attached code causes compile error:

bitfieldbug.C:7: syntax error before `:' token

>How-To-Repeat:
attempt to compile attached program.  No special flags needed.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bitfieldbug.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bitfieldbug.C"

bmFtZXNwYWNlIHoge30KCnN0cnVjdCBhYmMKewogIHVuc2lnbmVkIGludCB6Ojg7Cn07CgppbnQg
bWFpbigpCnsKICByZXR1cm4gMDsKfQo=


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