• 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: deprecated conversion from string constant to 'char*'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecated conversion from string constant to 'char*'


  • Subject: Re: deprecated conversion from string constant to 'char*'
  • From: Sean McBride <email@hidden>
  • Date: Thu, 02 May 2013 12:39:20 -0400
  • Organization: Rogue Research Inc.

On Thu, 2 May 2013 17:50:05 +0200, Perry Winkel said:

>When i compile my source directly from the terminal, I get the warning:
>
>deprecated conversion from string constant to 'char*'
>
>However if I let Xcode do the compiling, no warnings occur...
>
>How do I make Xcode show these warnings also, what checkbox to mark in
>the project settings?

Xcode doesn't have checkboxes for every warning, you sometimes have to add extra warning flags in the 'other c flags' setting.  If you're using clang, I'm a fan of specifying "-Weverything" (which is literrally everything, and too much), and then disabling warnings you don't want by appending, for example, -Wno-foobar.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
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: deprecated conversion from string constant to 'char*'
      • From: Jens Alfke <email@hidden>
  • Next by Date: Re: deprecated conversion from string constant to 'char*'
  • Next by thread: Re: deprecated conversion from string constant to 'char*'
  • Index(es):
    • Date
    • Thread