[fpc-pascal] GCC attributes when binding code

ik idokan at gmail.com
Wed Dec 28 09:51:41 CET 2011


Hello,

I found the following code:

/* this is a special 64bit data type that is 8-byte aligned */
#define aligned_u64 u_int64_t __attribute__((aligned(8)))

And few other __attribute__ based code as well. Some of them are
useless for Pascal at all,
but changing alignment for a variable type is something that is useful.

My question is, is there something new in FPC that allow me to do
something like that ?

Thanks,
Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111228/798ade34/attachment.html>


More information about the fpc-pascal mailing list