[Issue 3407] [tdpl] Compiling with -safe -release must keep all bound	checks
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Oct 30 15:23:20 PDT 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3407
Leandro Lucarella <llucax at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax at gmail.com
--- Comment #6 from Leandro Lucarella <llucax at gmail.com> 2009-10-30 15:23:19 PDT ---
LDC already have all the checks splat in different options:
$ ldc --help
[...]
  -enable-asserts                              - (*) Enable assertions
  -enable-boundscheck                          - (*) Enable array bounds checks
  -enable-contracts                            - (*) Enable function pre- and
post-conditions
  -enable-invariants                           - (*) Enable invariants
  -enable-postconditions                       - (*) Enable function
postconditions
  -enable-preconditions                        - (*) Enable function
preconditions
  -enable-inlining                             - (*) Enable function inlining
in -O<N>
[...]
Options marked with (*) also have a -disable-FOO variant with inverted
meaning.
$ 
It will be very nice if this switches are included in the reference
implementation too.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list