This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11946] fun and merriment with enums as function arguments
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2003 14:08:27 -0000
- Subject: [Bug c++/11946] fun and merriment with enums as function arguments
- References: <20030816135431.11946.richard.kreckel@ginac.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11946
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-16 14:08 -------
I do not know what the C++ standard says but there was a change in 3.4 to become more
standard compliant enum's. Note C and C++ standards differ in the way they describes enum's.
The C front-end works the way you want it.