[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Re: patches for trunk
I tried recompiling the 32-bit UB defining NDEBUG with the -D flag. Still got the crash. Is this NOT the correct way to define that macro?
Best,
Josh
On Dec 4, 2009, at 7:18 AM, Tim Blechmann wrote:
>>>>> this assertion does not have any influence on the run-time behavior of a
>>>>> release build, though ... it is just an additional type check ...
>>>>
>>>>
>>>> It does... it crashed the app. A release build of the app.
>>>>
>>>> Not sure about the rest... I'll check.
>>>
>>> äh, why should an assertion be triggered in a release build? isn't the
>>> release build on osx done with NDEBUG defined?
>>
>> grep -R NDEBUG *.xcodeproj
>>
>> no, seems not. IIRC it's the presence/absence of DEBUG that's been
>> used in the past
>
> well, then it should be added ... according to c89, NDEBUG is the
> standard macro to be used for disabling code generation for asserts
> statements
>
> tim
>
> --
> tim@xxxxxxxxxx
> http://tim.klingt.org
>
> Linux is like a wigwam: no windows, no gates, apache inside, stable.
>
******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/