[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689932: Please define sized int{8,16,32,64}_t types portably even for GCC



Josh Triplett wrote:
> On Sun, Oct 07, 2012 at 04:52:30PM -0700, Jonathan Nieder wrote:

>> Which compiler are you using?  Is its identifying itself as gcc >= 2.7
>> intentional?
>
> c2hs, which uses GCC's preprocessor.

Independently of this request, that seems like a bug.  Perhaps it
could be convinced to pass -U__GNUC__ -U__GNUC_MINOR__
-U__GNUC_PATCHLEVEL__ to cpp.

>                                       And many other non-GCC compilers
> identify themselves as GCC as well,

Many do, but I didn't know of any that specified a specific version
until today.

Thanks again,
Jonathan


Reply to: