bug in GCC or C++ standard ?
René Bürgel
r.buergel@unicontrol.de
Wed Nov 12 11:25:00 GMT 2008
Mark Tall schrieb:
> On 12/11/2008, René Bürgel <r.buergel@unicontrol.de> wrote:
>
>> If all members of the union are const, why don't you just make the union
>> itself const?
>>
>
> The const for the union seems to be ignored
I'd say, that's the real bug, at least from my point of view. I don't
know, if this case is handled in the standard, but as "const union" is
declaration and definition the const shouldn't be ignored.
--
René Bürgel
Software Engineer
Unicontrol Systemtechnik GmbH
OT Dittersbach
Sachsenburger Weg 34
09669 Frankenberg
Tel.: 03 72 06/ 88 73 - 19
Fax: 03 72 06/ 88 73 - 60
E-Mail: r.buergel@unicontrol.de
Internet: www.unicontrol.de
Unicontrol Systemtechnik GmbH
Geschäftsführer: Dipl.-Ing. Siegfried Heinze
Sitz der Gesellschaft: Frankenberg
Registergericht: Amtsgericht Chemnitz, HRB 15 475
More information about the Gcc
mailing list