• 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
SynthEvent.h compile errors under gcc 4.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SynthEvent.h compile errors under gcc 4.0


  • Subject: SynthEvent.h compile errors under gcc 4.0
  • From: Bill Preder <email@hidden>
  • Date: Sat, 11 Jun 2005 11:02:12 -0700

Howdy,

Compiling SynthEvent.cpp (in AudioUnits/AUPublic/AUInstrumentBase/) with gcc 4.0 (Xcode 2.1) yields the following errors in line 96 of SynthEvent.h (in SynthEvent::Set()):

   error: 'inNoteParams' cannot appear in a constant-expression
   error: '->' cannot appear in a constant-expression

It works fine under gcc 3.3. I had to set up a couple of target- specific rules in my project to get this running. However, I assume the CA team will eventually want this file to play nice with 4.0. :-)

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


  • Prev by Date: My first plug
  • Next by Date: Re: SynthEvent.h compile errors under gcc 4.0
  • Previous by thread: My first plug
  • Next by thread: Re: SynthEvent.h compile errors under gcc 4.0
  • Index(es):
    • Date
    • Thread