This is the mail archive of the
mailing list for the GCC project.
Re: integral location_t
Carlo Wood wrote:
Assuming we have at least 32 bits, 12 bits of which are
reserved for the column, there are 20 bits for the line
That's not how fileline works ... The 32 bits of a fileline
are a magic cookie that indexes into a linemap that also
identifies the filename *and* the include nesting.
Currently, fileline does not support column numbers, but
I did once propose an extension for it. In any case, location_t
does not currently support column numbers either, so adding
column number support is an orthogonal issue.