Thank you for your reply.
This is of course something I tried.
IMHO, because FreeBSD standard headers are known to use __aligned(x) and 
__pure, tcc should define them by default (at least for FreeFBSD) otherwise 
everybody will need to define those macros just to include standard header. 

Wdyt?

Christian
----- message d'origine -----
De : "grischka" <gris...@gmx.de>
date lun. 10/10/2016 11:09 (GMT +02:00)
À : "tinycc-devel@nongnu.org" <tinycc-devel@nongnu.org>
Objet : Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

Christian Jullien wrote:
>         int     sc_fpstate[128] __aligned(16);

aligned is an attribute (also in gcc.  You need

     #define __aligned(n) __attribute__((aligned(n)))

Should be in the headers but often it is only for __GNUC__.

pure also is an attribute, for optimization purposes and ignored
by tcc, unless given -Wunsupported.

-- gr


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to