• 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: Yet another build styles issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yet another build styles issue


  • Subject: Re: Yet another build styles issue
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 12 Nov 2003 15:39:51 +0000

On 12 Nov 2003, at 15:37, Dario Accornero wrote:

> On 12 Nov 2003, at 16:22, Alastair Houghton wrote:
>
>>> If you can stand debugging in gdb with optimisations on, more power
>>> to you -- sometimes I find it uncomfortable even at -O1.  As for the
>>> warnings, you will get them anyways in your Deployment build.
>>
>> No you don't.  You don't get "uninitialized variable" warnings unless
>> you are optimising (they need data flow analysis); you also don't get
>> the warning about automatic variables in functions where you've used
>> setjmp().
>
> Aren't those warnings triggered by anything above -O0?  Deployment
> builds by default imply -Os, even in my projects created from
> scratch...
>
>> GCC's manual mentions this, here:
>>
>>
>> http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/
>> Warning-Options.html
>
> Yes, I know -Wall does not specify all possible warnings -- but I
> don't see another way of specifying them rather than manually.

I think we may now be talking at cross-purposes ;-)

Yes, you do get those warnings *provided* optimisation is on.  That's
the point I was trying to make.  If you disable the optimiser, you
won't get them any more.  And you're right, you could use -O1 to
disable most optimisations, and still get them.

Kind regards,

Alastair.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Yet another build styles issue (From: Dario Accornero <email@hidden>)
 >Re: Yet another build styles issue (From: Dario Accornero <email@hidden>)
 >Re: Yet another build styles issue (From: Alastair Houghton <email@hidden>)
 >Re: Yet another build styles issue (From: Dario Accornero <email@hidden>)
 >Re: Yet another build styles issue (From: Alastair Houghton <email@hidden>)
 >Re: Yet another build styles issue (From: Dario Accornero <email@hidden>)

  • Prev by Date: Re: File detection.
  • Next by Date: Re: Yet another build styles issue
  • Previous by thread: Re: Yet another build styles issue
  • Next by thread: Re: xcode-users digest, Vol 1 #70 - 15 msgs
  • Index(es):
    • Date
    • Thread