[Bug other/19165] (Natural) language independent error / warning classification
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 9 20:13:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165
--- Comment #23 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #21)
> One other issue is that column numbering is rather a mess right now. From
> my rich-location patch:
>
> /* Both gcc and emacs number source *lines* starting at 1, but
> they have differing conventions for *columns*.
>
> GCC uses a 1-based convention for source columns,
> whereas Emacs's M-x column-number-mode uses a 0-based convention.
FWIW, GCC is right and Emacs wrong according to
https://www.gnu.org/prep/standards/html_node/Errors.html
Emacs could simply do the transformation itself.
More information about the Gcc-bugs
mailing list