• 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: Xcode 2.1 --- strings passed as -DMY_STRING="mystring"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.1 --- strings passed as -DMY_STRING="mystring"


  • Subject: Re: Xcode 2.1 --- strings passed as -DMY_STRING="mystring"
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 8 Jun 2005 20:12:42 -0700

You can try setting the preprocessor macros in "Other C Flags" as a workaround for now.

Scott

On Jun 8, 2005, at 6:24 AM, Raphael Sebbe wrote:

It no longer works. You can't set it from the Target build options.

Actually you can do it by adding backslashes before ", but those are
lost as soon as the project is closed and reopened...

-DMY_STRING=\"mystring\"           ->   works

close the project, reopen it, the backslashes are gone and it doesn't
work anymore:

-DMY_STRING="mystring"

I'll report it I guess... Someone can tell me if there's a work around ?

Thanks

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


_______________________________________________ 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
References: 
 >Xcode 2.1 --- strings passed as -DMY_STRING="mystring" (From: Raphael Sebbe <email@hidden>)

  • Prev by Date: Re: [Suggestion] Opening old projects in XCode 2.1
  • Next by Date: Re: Const correctness
  • Previous by thread: Xcode 2.1 --- strings passed as -DMY_STRING="mystring"
  • Next by thread: The .c/.m switch button
  • Index(es):
    • Date
    • Thread