• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: i386 build error with AUBase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i386 build error with AUBase


  • Subject: Re: i386 build error with AUBase
  • From: Marc Poirier <email@hidden>
  • Date: Sun, 15 Jan 2006 18:33:19 -0500

On Jan 15, 2006, at 2:35 PM, Jens Ayton wrote:

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.

Or I could be using another compiler! I mean, I'm not, but if that is a GCC extension, than that's an even more important reason for it to be changed, since that makes for a rather non-portable SDK...


Marc _______________________________________________
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


  • Follow-Ups:
    • Re: i386 build error with AUBase
      • From: Andrew Kimpton <email@hidden>
References: 
 >i386 build error with AUBase (From: Marc Poirier <email@hidden>)
 >Re: i386 build error with AUBase (From: Jens Ayton <email@hidden>)

  • Prev by Date: OSX MIDI Network protocol specs
  • Next by Date: Re: i386 build error with AUBase
  • Previous by thread: Re: i386 build error with AUBase
  • Next by thread: Re: i386 build error with AUBase
  • Index(es):
    • Date
    • Thread