2010/8/24 José Luis García Pallero <jgpallero@xxxxxxxxx>: > El día 24 de agosto de 2010 14:49, Tiago Maluta > <tiago.maluta@xxxxxxxxx> escribió: >> 2010/8/24 José Luis García Pallero <jgpallero@xxxxxxxxx>: >> >>> >>> Can someone reproduce the behaviour? >>> >> >> I reproduced your behavior. Running your test case with gcc 4.3.1 on >> Gentoo all goes fine, but with gcc 4.2.1 on MacOSX the warning shows >> up. > > I didn't remember that I have MacOSX 10.4 installed in my iBook G4. > The gcc installed is 4.0.1. And as Tiago, the warning shows up. But > only the warning concerning the char input argument. But in my > workstation Xeon 64 bits tha warning appears for char arguments and > for the long argument without explicit cast. > Just to complement, both tests (Gentoo and OSX) were under x86. I also tested with one GCC release that I compiled: $ gcc -v gcc version 4.6.0 20100508 (experimental) And your test case compilation goes _without_ any gcc warning. --tm