This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to represent column numbers using source_location
I checked this into mainline. I don't know if I technically overstepped
my bounds (it might qualify as obvious and/or cpplib-related), but since
it fixes a bootstrap failure it was better to not wait.
Note we will probably need a different fix later when we (hopefully
soon) replace location_t by source_location. (I.e. use line-map indexes
for input_location.) I have my old patch for this, but it might make
most sense to wait until tree-ssa is merged into mainline. (That way
I don't have to deal with Ada, for example ...)
2004-02-20 Per Bothner <per@bothner.com>
* input.h: Don't #include line-map.h. It may cause link problems
with undefined linemap_line_start when line-map.h is included but
line-map.o is not linked, as currently happens with gengtype on
compilers that don't support inline.
* toplev.c: So we do have to explicitly #include line-map.h here.
--
--Per Bothner
per@bothner.com http://per.bothner.com/