------- Comment #4 from manu at gcc dot gnu dot org 2006-11-26 13:57 ------- This will be fixed by the new Wconversion option. Actually, it has been fixed already for gcc version 4.3.0 20061124 (experimental).
[EMAIL PROTECTED]:~$ local/bin/g++ -c -Wconversion pr18821.C pr18821.C: In function int main(): pr18821.C:8: warning: conversion to short unsigned int from long unsigned int may alter its value I hope this makes you happy! It is a shame that I missed this bug in the Changelog. Should I modify the Changelog or what is done is done ? -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18821