helpful runtime error messages

Jesse Phillips jessekphillips+D at gmail.com
Wed Dec 15 10:17:06 PST 2010


spir Wrote:

> It was already compiled with -gc (removing this switch does not change output). I get a line only for top-level call (the number above point to the calling line in main).

Sorry wasn't on a Linux box to test myself. It might have to do with the error occurring in main, so you already get the line number. I had assumed -gc wasn't used since your compile line is:

> spir at o:~/prog/d$ dmd -ofprog -w -debug -unittest -L--export-dynamic prog.d

Anyway that is the best there is.


More information about the Digitalmars-d-learn mailing list