Re: Yet another build styles issue
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.