[Bug c++/21510] Possible bug
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 15 14:13:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 14:12 -------
(In reply to comment #4)
> If there is no other way to distinguish reliable between unions and classes,
> add it into the extension list. Unions should be avoided in object oriented
> design, anyway, but it is a nice-to-have feature.
Extensions are bad. Even just bugs in the compiler is a bad thing beause people would think the bug
was an extension and start depending on it and then when the bug was fixed, people complain their
code no longer compiles.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21510
More information about the Gcc-bugs
mailing list