I'm using headers from tcc. Thanks for your suggestion, I'm not trying to fix my code which is already fixed (easy) I'm trying to contribute to improve tcc by fixing the problem itself.
I spent around 4h tonight to test different things. None work yet. Of course, I want the fix be in tcc and/or JUM_BUF declaration not in any user's code. C. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ketmar Sent: jeudi 3 décembre 2009 15:42 To: [email protected] Subject: Re: [Tinycc-devel] jmp_buf align problem on win64 On Thu, 3 Dec 2009 14:43:07 +0100 "Christian Jullien" <[email protected]> wrote: > I try understanding why this declaration is not honored. > I've no clue. are you using GNU headers? i remember that something in it #defines __attribute__ to noop for me sometimes. somehow this code: int main () { __attribute__((aligned(8))) char c0; __attribute__((aligned(8))) char c1; return 0; } works, and this: #include <setjmp.h> int main () { __attribute__((aligned(8))) char c0; __attribute__((aligned(8))) char c1; return 0; } turns "__attribute__((aligned(8)))" into nothing (as -E says). and if i write "#undef __attribute__" after including, it works again. dont know if this is my particular problem or so (can't check on win-x64 for now). ---------------------------------------------------------------------------- ----------- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte. _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
