This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/42014] Inconsistent column number display for "In file incuded from"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42014

Justin Vreeland <vreeland.justin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vreeland.justin at gmail dot com

--- Comment #4 from Justin Vreeland <vreeland.justin at gmail dot com> ---
Created attachment 33832
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33832&action=edit
adds column to output

The currently attached patch doesn't apply cleanly I'm uploading another that
does, it's essentially the same patch.

Without patch:

In file included from /usr/include/c++/4.9.1/iostream:39:0,
                 from test.cxx:1:

With patch:

In file included from
/extra/gcc/bug42014/patched/gcc/pkg/gcc/usr/include/c++/4.9.1/iostream:39:0,
                 from test.cxx:1,0:

Which matches the error location.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]