www.digitalmars.com         C & C++   DMDScript  

D - code generation

reply "Carlos Santander B." <carlos8294 msn.com> writes:
I don't know about optimizations and code generation, so I'm forced to ask
this: is there a logical reason why if I compile a program (with no user
input) with -release it runs fine, but without that I get an
ArrayBoundsError?

-------------------------
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 2003-05-19
May 20 2003
parent "Nic Tiger" <tiger7 progtech.ru> writes:
Somewhere in program there is a bug. But in 'release' version checking is
omitted and, which is rather common, bug does not show itself. But anyway,
if it is there, it will show itself somewhen in future.

I suggest verifying code twice for bad indices in arrays (what error message
suggests).

Nic Tiger.

"Carlos Santander B." <carlos8294 msn.com> wrote in message
news:baeltd$v1l$1 digitaldaemon.com...
 I don't know about optimizations and code generation, so I'm forced to ask
 this: is there a logical reason why if I compile a program (with no user
 input) with -release it runs fine, but without that I get an
 ArrayBoundsError?

 -------------------------
 Carlos Santander


 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.483 / Virus Database: 279 - Release Date: 2003-05-19

May 20 2003