Re: -fdefault-integer-8 in c

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

 



El día 10 de marzo de 2010 14:13, John (Eljay) Love-Jensen
<eljay@xxxxxxxxx> 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@xxxxxxxxx
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux