Re: i386 build error with AUBase
Re: i386 build error with AUBase
- Subject: Re: i386 build error with AUBase
- From: Jens Ayton <email@hidden>
- Date: Sun, 15 Jan 2006 20:35:58 +0100
Marc Poirier:
error: ISO C++ forbids braced-groups within expressions
from the DISABLE_DENORMALS macro in line 1262 of AUBase.cpp. As a
workaround, I changed these 2 macros:
#define GETCSR() ({ int _result; asm volatile ("stmxcsr %0" : "=m"
(*&_result) ); /*return*/ _result; })
This could be because of the use of the ({ }), which is a GCC extension.
If you've specified pedantic mode or a non-GCC dialect, you’ll get
errors for this.
--
Jens Ayton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden