CPP warning

Mark Mitchell mark@codesourcery.com
Wed Apr 11 10:38:00 GMT 2001


On the 3.0 branch, I often get warnings like:

  /isip/d108/alphonso/tools/include/MVector.h:218:53: warning: expected to return to line number 42

when using a preprocessed source file, especially one preprocessed
with GCC 2.95.x.

Do y'all know what causes this?  Can it be fixed easily?  

It's not a very useful error message if you're not a compiler
developer since there's pretty much nothing you can do about it --
it's not like a construct in your source code that you can change.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list