No line numbers in compiler error messages

Jesse Phillips via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 11:24:16 PDT 2015


On Friday, 24 April 2015 at 17:20:12 UTC, John Nixon wrote:
> I am using dmd v2.067.0 on Mac OSX with Terminal and I found 
> the lack of line numbers surprising.
> Is there something simple I am doing wrong? Do any of the 
> switches on the command line do this?
>
> BTW I only found out about D a couple of weeks back. It seems 
> to be very impressive!
>
> John Nixon

Without debug symbols the line numbers aren't available (IIRC). 
Add -g to your compile switches.


More information about the Digitalmars-d-learn mailing list