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: -fdefault-integer-8 in c


El día 10 de marzo de 2010 14:13, John (Eljay) Love-Jensen
<eljay@adobe.com> escribió:
> Hi José,
>
>> Yes, if I use typedef I would to replace the definition in all my code and it would be dangerous.
>
> <stdint.h>'s int64_t is int64_t on all platforms which have a 64-bit integer type, for C.
>
> I'm not seeing the dangerousness. ?Unless you mean C++, which does not have int64_t (except by the C++ compilers which have added it as an extension, or added it in anticipation of C++0x).

Would be possible to use something like #define int long in the code.


-- 
*****************************************
José Luis García Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************


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