• 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: How to display Japanese in debug console?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to display Japanese in debug console?


  • Subject: Re: How to display Japanese in debug console?
  • From: Norio Ota <email@hidden>
  • Date: Mon, 26 Jun 2006 11:01:08 +0900


On 2006年 6月 26日 , at 00:36 AM, Steve Sisak wrote:

At 11:52 PM +0900 6/25/06, Norio Ota wrote:
On 2006îN 6åé 25ì™ , at 09:15 PM, Damien Bobillot wrote:
Norio Ota wrote :
When I read your mail, I thought NSLog might help me out. However, unfortunately I use Carbon, so I have a compile error with NSLog.

You need to add the Cocoa framework to the "link with libraries & frameworks" build phase (you may get an warning saying that NSLog is not declared, but it's not important).

I hate to say this, but would you mind if I asked you how I prevent from getting the compile error?

You can probably just copy the declaration into one of your own header files.


(It's OK to have multiple declarations for a function as long as they all agree)

I tried putting the following prototype at the beginning of the source file which has NSLog:


void NSLog (NSString* format, ...);
void NSLog (NSString* format, va_list args );

But Carbon doesn't have NSString class, how do you think I define NSString for using it in Carbon?
Do I need to set any flags of the build setting of the target in Xcode?


This is the first time for me to use Cocoa function in Carbon environment, so that I'm very sorry to bother you.

norio
_______________________________________________
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: How to display Japanese in debug console?
      • From: Chris Hanson <email@hidden>
    • Re: How to display Japanese in debug console?
      • From: Steve Sisak <email@hidden>
References: 
 >How to display Japanese in debug console? (From: Norio Ota <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Damien Bobillot <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Damien Bobillot <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Norio Ota <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Steve Sisak <email@hidden>)

  • Prev by Date: Ambiguous Conversion error
  • Next by Date: Re: How to display Japanese in debug console?
  • Previous by thread: Re: How to display Japanese in debug console?
  • Next by thread: Re: How to display Japanese in debug console?
  • Index(es):
    • Date
    • Thread