Release build headache: -inline

Tom tom at nospam.com
Sat Mar 5 17:11:50 PST 2011


El 05/03/2011 22:05, Jonathan M Davis escribió:
> On Saturday 05 March 2011 16:40:02 Tom wrote:
>> Well, I did what you suggested with success (thanks).
>
> Okay. I created a bug report for it:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=5708
>
> In the meantime, I would suggest that you simply not compile with -
> noboundscheck. It's likely that it rarely does anything for you anyway. It
> disables array bounds checking in @safe code, and precious little in Phobos is
> marked as @safe at this point, so unless you're marking _your_ code with @safe,
> most of it is likely @system (since that's the default), and so the -
> noboundscheck doesn't actually do anything for you. Array bounds checking is
> already removed for @system and @trusted functions with -release.
>
> - Jonathan M Davis

Very well. Thanks.

Tom;


More information about the Digitalmars-d-learn mailing list