[CPP] 28079 #line range not verified without -pedantic

Mark Mitchell mark@codesourcery.com
Fri Feb 29 22:05:00 GMT 2008


Manuel López-Ibáñez wrote:

> Well, I didn't try that just because I assumed that there was a reason
> to to use int as the line number, but, with hindsight, that seems
> unlikely. I can try to change at least this part of the preprocessor
> to use a typedef if the preprocessor maintainers think that is OK.

Sure, I didn't mean that you should do it as part of this patch.  It's 
just that -- in various places throughout GCC -- we've run into this 
kind of int vs. unsigned int. vs long vs. long long vs. HOST_WIDE_INT 
stuff, and consistent use of typedefs naming the thing we're trying to 
represent would be a lot clearer. :-)

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list