[Bug middle-end/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1
aldyh at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 21:12:00 GMT 2005
------- Comment #7 from aldyh at gcc dot gnu dot org 2005-11-17 21:12 -------
We used to allow this, but have now made the warning stricter. This behavior
was done deliberately. See:
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00275.html
As is explained in the thread, you can modify the macro to use statement
expressions and avoid the warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900
More information about the Gcc-bugs
mailing list