• 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
const char* to char*
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

const char* to char*


  • Subject: const char* to char*
  • From: David Cairns <email@hidden>
  • Date: Thu, 27 Nov 2003 16:59:17 -0500

hey all --

i am getting this silly warning when compiling in Xcode. The warning comes from the line

char *cName = [theName cString];

how can i work around this such that i avoid this error? would strcpy work?

-- david
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: const char* to char*
      • From: Prachi Gauriar <email@hidden>
    • Re: const char* to char*
      • From: Jens Bauer <email@hidden>
  • Prev by Date: Re: Network Devices (en0, en1, etc.) in an NSPopUpButton
  • Next by Date: Re: const char* to char*
  • Previous by thread: Re: Setting contents of NSTextField to NSCalendarDate
  • Next by thread: Re: const char* to char*
  • Index(es):
    • Date
    • Thread