May 21, 2003 code generation | ||||
---|---|---|---|---|
| ||||
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 21, 2003 Re: code generation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | 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 > > |
Copyright © 1999-2021 by the D Language Foundation