This is the mail archive of the gcc-patches@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]

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


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


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