[Bug fortran/69485] oddity with -Wtabs
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 26 13:29:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69485
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to janus from comment #0)
> So, the odd thing is that only for one of these tabs I am actually told that
> it's in the include file, for all others that unfortunately does not happen.
>
> Ideally the style of the last of these warnings should be used for the
> others as well!
To do that, this
gfc_warning_now (OPT_Wtabs,
"Nonconforming tab character in column %d "
"of line %d", i+1, linenum);
has to be replaced by this
gfc_warning_now (OPT_Wtabs, "Nonconforming tab character at %C");
or this
gfc_warning_now (OPT_Wtabs, "Nonconforming tab character at %L", where);
or
gfc_warning_now_at (location, OPT_Wtabs, "Nonconforming tab character at (1)");
Of course, the tricky part is how to set-up things such that one of those calls
will work.
More information about the Gcc-bugs
mailing list