tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] jmp_buf align problem on win64


From: ketmar
Subject: Re: [Tinycc-devel] jmp_buf align problem on win64
Date: Thu, 3 Dec 2009 16:42:14 +0200

On Thu, 3 Dec 2009 14:43:07 +0100
"Christian Jullien" <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]