Thorbjørn Ravn Andersen wrote:
Gregory Shimansky skrev  den 10-01-2007 19:02:

I am surprised too. I tried to push moving to gcc 4.x because I use it on all systems and we've had cases when code which compiles on 3.x failed to compiled on 4.x because of more strict syntax checks.

Does this also apply when -Wall is in effect?

I think we have -Wall already specified for some native sources. Yes, gcc invents new warnings/erros as it evolves. Consider this link [1] (see C++ section), it means that some previously allowed C++ constructs is not allowed any more.

[1] http://gcc.gnu.org/gcc-4.1/changes.html

--
Gregory

Reply via email to