This is the mail archive of the gcc-help@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: Warning using sprintf("%llu", uint64_t) on AMD64


Tim Prince wrote: 
> In my state of ignorance of good style for mixed C and C++, using a
> (long long) or (unsigned long long) cast to silence the warning seems
> reasonable (except that it could silence a warning about a serious
> error).  I've seen several times the argument that gcc or g++ should
> give such warnings for general portability reasons, even when there
> can't be a problem on a given target.
>
Is there a platform where 'long long int' is 128-bits?


Attachment: signature.asc
Description: OpenPGP digital signature


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