[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:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #3 from Daniel Holbert <dholbert at cs dot stanford.edu> 2012-12-10 20:43:47 UTC ---
Created attachment 28918
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28918
testcase preprocessed file (from run w/ --save-temps)
For reference, here's the preprocessed .ii file from running
> g++-4.7 --save-temps -Wall -std=c++11 gcc-warning-test.cpp
per the last recommendation at http://gcc.gnu.org/bugs/#need
More information about the Gcc-bugs
mailing list