-Wno-tabs GIves Weird Line Number Information and No Source File Name (v 4.3.3)

Jerry DeLisle jvdelisle@verizon.net
Sat Mar 28 02:24:00 GMT 2009


Tom Browder wrote:
> I've just received my first tab warnings from -Wall (which includes
> -Wno-tabs) but none of the line numbers match the source (nor is the
> file identified explicitly as is done by other warnings).  I'm going
> going to look at the processed source files but haven't gotten there
> yet.
> 
> I've searched the bugs but haven't found anything appropriate.
> 
> Has this problem been identified or do I need to submit a bug report.
> 
The best thing to do is a global search and replace of all tabs, turning them 
into spaces.  It also would not hurt to check all line endings and make sure 
they are lf or cr-lf, whatever your system uses.  I have also run into other 
hidden control characters in legacy code.  Just some thoughts,

Jerry



More information about the Fortran mailing list