On Thu, May 22, 2008 at 4:00 AM, Laurent Dufrechou <laurent.dufrechou@xxxxxxx> wrote: > Arf no... Here is my compile option :) > > g++ -march=nocona -Wall -Wfloat-equal -Wshadow -Wpointer-arith -Wcast-align > -Wcast-qual -Wconversion -Wextra -Wreorder -Wold-style-cast -Winit-self The failure to warn about the downcast may be a known problem. I had a problem the other way on a later version of gcc, and the gcc-dev list has some threads about such. I suggest checking bugzilla and also check at least gcc version 4.3. -Tom