Messages in this thread | | | From | Michael Buesch <> | Subject | Re: Warning messages during compilation of 2.4.21. (5 files) | Date | Sun, 22 Jun 2003 17:12:18 +0200 |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday 22 June 2003 16:07, Ishikawa wrote: > Unfortunately, GCC 3.3 is so clever that > mere type casting (as you suggested) still produced warning. > Only after assigning to an integer variable, I see > the warning message gone. Tough luck. > Agreed. The remedy is very ugly.
I've just tested if gcc is clever enough to optimize the if () away. It is. So it is not as ugly as I said in my previous mail.
> > Regards, > > Ishikawa Chiaki
- -- Regards Michael Büsch http://www.8ung.at/tuxsoft 17:10:03 up 2:04, 3 users, load average: 1.02, 1.02, 1.00
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+9cdSoxoigfggmSgRApR+AKCImLGBDswQhYTQG96W/NG0UlBUnwCdH8TC YFMq3a5zdxazYCLcEcmHYzA= =xAcM -----END PGP SIGNATURE-----
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |