Inline assember interferes with #pragma options align
Inline assember interferes with #pragma options align
- Subject: Inline assember interferes with #pragma options align
- From: Steve Baxter <email@hidden>
- Date: Tue, 21 Jun 2005 19:43:34 +0100
Hi,
I'm trying to move a CW project to XCode and I've come across a weird
problem. If I use inline assember, it messes up the #pragma options
align stack. For instance, this code will cause an error:
int main (int argc, char * const argv[])
{
asm
{
}
#pragma options align=mac68k
struct x {
short a;
short b;
};
#pragma options align=reset
}
The error is "error: too many #pragma options align=reset"
Has anyone seen this? Does anyone know of a workaround?
Cheers,
Steve.
Stephen Baxter
Software Development Manager
Improvision
email@hidden
+44-2476-692229
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden