• 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: Uninitialized variables don't give error, ever!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninitialized variables don't give error, ever!


  • Subject: Re: Uninitialized variables don't give error, ever!
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 3 Mar 2006 17:10:47 -0500
  • Organization: Rogue Research

On 2006-03-03 13:17, Tor Langballe said:

>I've tried the -Wuninitialized warning, but that doesn't seem to want
>to work no matter what optimization I use:
>cc1plus: warning: -Wuninitialized is not supported without -O
>
>Is there something obvious I'm doing wrong, this was working before.

Unlike CW, gcc can't give those warnings without the -O optimisation
on.  I suggest enabled Wuninitialized only in your release build.

--
____________________________________________________________
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

References: 
 >Uninitialized variables don't give error, ever! (From: Tor Langballe <email@hidden>)

  • Prev by Date: TWAIN data source
  • Next by Date: Project settings vs. target settings
  • Previous by thread: Uninitialized variables don't give error, ever!
  • Next by thread: TWAIN data source
  • Index(es):
    • Date
    • Thread