• 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: multi-character character constant and CFString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-character character constant and CFString


  • Subject: Re: multi-character character constant and CFString
  • From: Sailesh Agrawal <email@hidden>
  • Date: Mon, 25 Jul 2005 20:49:47 -0700

Julien Palmas wrote:

I am porting a Codewarrior project to XCode and need some advices about how to do things correctly

I have this function :

TCProfileTextType( const std::string& inText,
unsigned long inTagSignature,
const short inLangCode = 'ja',
const short inRegionCode = 'JP');


I get no warnings whatsoever in Codewarrior, but compiling the same source file with gcc 4.0 raises this :
warning : multi-character character constant

You can turn this warning off. In XCode, go to your target settings. In the search box type "four character literals". Make sure it's unchecked.


Sailesh
_______________________________________________
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: multi-character character constant and CFString
      • From: Lawrence Gold <email@hidden>
References: 
 >multi-character character constant and CFString (From: Julien Palmas <email@hidden>)

  • Prev by Date: Re: How is this not a complier error? (dynamic casting problem)
  • Next by Date: Re: Invalid PCH file warning?
  • Previous by thread: multi-character character constant and CFString
  • Next by thread: Re: multi-character character constant and CFString
  • Index(es):
    • Date
    • Thread