This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1
- From: "mike at codeweavers dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2006 03:02:08 -0000
- Subject: [Bug middle-end/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1
- References: <bug-24900-4603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from mike at codeweavers dot com 2006-01-26 03:02 -------
Unfortunately statement expressions don't look like portable C.
The (windowsx.h) macros we use in Wine are Windows macros and can't be changed.
To get rid of these warnings it's likely we'll have to turn off the computed
value not used warning, which used to show some useful warnings...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900