• 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: Token Concatation in Info.plist Files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Token Concatation in Info.plist Files?


  • Subject: Re: Token Concatation in Info.plist Files?
  • From: Andreas Wittenstein <email@hidden>
  • Date: Mon, 5 Feb 2007 12:02:59 -0800

Thanks, Douglas!

Try this:

#define		__macroConcat2A( a, b  )		a##b
#define		__macroConcat2( a, b )		__macroConcat2A( a, b )

Yes, this works.

I did some hunting and research on various sites, and even the archive to this list.

I think you can only use the ## within a macro definition, and you need two macros to get it to work.

That's what I was doing wrong: I was using it in an invocation instead of a definition.


I do not understand why, I tried it with one and it didn't work, and then found something that said use the double definition method above.

A single '#' stringifies the following token: That is, it encloses it in quotation marks.


Cheers,

Andreas Wittenstein
BitJazz Inc.
http://www.bitjazz.com/

_______________________________________________
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: 
 >Token Concatation in Info.plist Files? (From: Andreas Wittenstein <email@hidden>)
 >Re: Token Concatation in Info.plist Files? (From: Douglas Norton <email@hidden>)

  • Prev by Date: Re: "Always Search User Paths" does not work after closing the project
  • Next by Date: Examples of Makefiles for Universal Binaries?
  • Previous by thread: Re: Token Concatation in Info.plist Files?
  • Next by thread: GCC inline asm error
  • Index(es):
    • Date
    • Thread