• 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
typedef of Float64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

typedef of Float64


  • Subject: typedef of Float64
  • From: James McCartney <email@hidden>
  • Date: Fri, 21 Dec 2001 21:19:45 -0600

The definitions of Float64 in MacTypes.h and CoreAudioTypes.h conflict if
using Codewarrior.

CoreServices/MacTypes.h says:
#if defined(__MWERKS__) || defined(THINKC)
typedef short double Float64;
#else
typedef double Float64;
#endif

CoreAudioTypes.h says:
#if !TARGET_API_MAC_OS8
typedef double Float64;
#else
typedef short double Float64;
#endif


Codewarrior says:
"Identifier 'Float64' redeclared.
was declared as: 'double'
now declared as: 'short double'"


Why is TARGET_API_MAC_OS8 ever a target for CoreAudio code?


--- james mccartney email@hidden <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.12.sea.hqx>


  • Prev by Date: Re: Actual Stream vs. Physical Stream ?
  • Next by Date: No Sound Input via JavaSound?
  • Previous by thread: audio unit bus
  • Next by thread: No Sound Input via JavaSound?
  • Index(es):
    • Date
    • Thread