• 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: AU - CW code gen problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU - CW code gen problems


  • Subject: Re: AU - CW code gen problems
  • From: Marc Poirier <email@hidden>
  • Date: Fri, 28 Mar 2003 16:38:55 +0100 (CET)

> I did not compiled an AU with CW8 (I mean before your test project),
> but I do use CodeWarrior (OS X Dev Studio) for my professional
> development. I work on a C++ library which implements the CORBA runtime
> (CORBA is a standard distributed middleware). I can say you that CW8
> generates a high quality code. Of course, I experiment crashes
> sometimes, but they always are the result of design or coding errors.

Yeah, I'm now thinking more and more that the problem is not with bad
codegen (I also have never had such problems with CW 8 since it was
released) but most likely a bug in the AUCarbonViewBase SDK code that is
only materializing when built with CW or a bug resulting from my project
configuration (most likely from some incorrect includes, although I would
be a bit surprised if that caused such major damage, but it is possible).

> A few time ago, I tried to compile the AU SDK files using CW8 and I had
> to modify a few lines of code in the SDK to make them compile with CW8.
> I posted a message on this list with the patches but I cannot remember
> the subject (I still have a text version of the patches and I can send
> it to you if you think it can help) .

Right, this message (I mentioned further down in my message that I applied
these changes):

http://lists.apple.com/archives/coreaudio-api/2003/Jan/30/audiounitcrashandfix.001.txt

> I have downloaded your test
> project and have a compilation error in AUBase.cpp (line 47, the file
> algo.h, specific to gcc STL implementation, is not found. It is not
> necessary with CW8 unless you don't want to use the CW STL). This
> aside, it compiles. I will try the component this week end.

Thanks, Philipe. To make it easier for anyone to try this out, I've
redone the archive and added the AUPublic files from the Dec 2002 Dev
Tools with the basic modifications made (the ones that you posted) that
are necessary to built it with CW. It also includes the AU already
built, in case all you're interested in is having fun watching it crash.
The updated archive is in the same place:

http://smartelectronix.com/~destroyfx/crash-machine.sit

Thanks again for any help,
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: AU - CW code gen problems (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Re: Open times are too long
  • Next by Date: Re: Open times are too long
  • Previous by thread: Re: AU - CW code gen problems
  • Next by thread: Re: AU - CW code gen problems
  • Index(es):
    • Date
    • Thread