Hello GCC gurus, When I upgraded gcc from 3.4 to 4.1, I see some errors which were earlier reported as warnings. ---------------------------------------------------------------------------------------------------------- ***.h:787: error: static declaration of foo follows non-static declaration ----------------------------------------------------------------------------------------------------------- The function foo is declared as extern and defined as static. I know this is not correct, and the right way to fix is to remove static from the definition. But this is some legacy code I don't have much control over and there's tons of it. Is there a way I could suppress this error, or make it a warning? Thanks much, Deven