[Bug c++/55643] g++ 4.7 gives "warning:=?UTF-8?Q?=20variable=20=E2=80=98myVar=E2=80=99=20set=20but=20not=20used=20?=[-Wunused-but-set-variable]" when an "enum class"-typed variable is cast to double before use

dholbert at cs dot stanford.edu gcc-bugzilla@gcc.gnu.org
Mon Dec 10 20:42:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643

--- Comment #2 from Daniel Holbert <dholbert at cs dot stanford.edu> 2012-12-10 20:42:03 UTC ---
The command I'm using to compile is:
>  g++-4.7 -Wall -std=c++11 gcc-warning-test.cpp



More information about the Gcc-bugs mailing list