• 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
YACWP (Yet Another CodeWarrior Port)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

YACWP (Yet Another CodeWarrior Port)


  • Subject: YACWP (Yet Another CodeWarrior Port)
  • From: Nick Nallick <email@hidden>
  • Date: Thu, 16 Jun 2005 15:19:31 -0600

I'm trying to get a CW project to Xcode 2.1 and I'm having a variety of problems. Any advice is appreciated.

1) I added a header search path to the project but it had no effect. When I examined the arguments passed to the compiler this path wasn't being passed to the compiler. I had to add the path to the target for it to work. What is purpose of this setting in the project?

2) I weak link a number of API's and test for their presence at runtime in the following manner. This produces a warning similar to the following. What is the proper way to do this without optimizing out my test?

    if (vImageConvolve_ARGB8888)
    {
    }

warning: the address of vImageConvolve_ARGB8888() will always evaluate as 'true'
(note: this full message is too long for the display view and gets clipped on the right side)


3) Frequently when I'm editing a file, I'll hit cmd-K to compile that one file and check for errors. When I compile a single file with the "Compile" menu command the compiler will frequently miss errors and report "Build succeeded". When I use the build command to compile the file the errors will be reported. What am I doing wrong?

4) CodeWarrior allows files to be saved automatically before compiling. Is there a setting in Xcode to allow this?

5) Is there any way to turn the objective-c compiler on and off within in a C++ file (e.g., #pragma objective_c on)?

6) How do I tell if the objective-c compiler is active (e.g., #if __option(objective_c))?

7) How do I include toolbox rez files in my rez files? I've tried it with and without framework style references (see below). Do I need to include these system files in my project somehow or set up a rez search path?

    SysError 2 during open of "ApplicationServices/AEUserTermTypes.r".
    SysError 2 during open of "AE/AEUserTermTypes.r".
    SysError 0 during open of "AEUserTermTypes.r".

8) Is there a more legitimate way to dereference and increment a pointer by a size other than it's native size than what I'm doing in the following?

UInt8* ptr = something;
UInt32 value = *((UInt32*) ptr)++;

warning: target of assignment not really an lvalue; this will be a hard error in the future

Thanks,
Nick Nallick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: YACWP (Yet Another CodeWarrior Port)
      • From: Chris Espinosa <email@hidden>
    • Re: YACWP (Yet Another CodeWarrior Port)
      • From: Lawrence Gold <email@hidden>
    • Re: YACWP (Yet Another CodeWarrior Port)
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Xcode 2.1: <incomplete type> in debugger??
  • Next by Date: MODULE_VERSION and CFBundleVersion synchronization?
  • Previous by thread: Re: GCC-XML for XCode?
  • Next by thread: Re: YACWP (Yet Another CodeWarrior Port)
  • Index(es):
    • Date
    • Thread