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).

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to