digitalmars.D.learn - No line numbers in compiler error messages
- John Nixon (7/7) Apr 24 2015 I am using dmd v2.067.0 on Mac OSX with Terminal and I found the
- Steven Schveighoffer (4/8) Apr 24 2015 It does post line numbers. Please post source and compile line that
- John Nixon (5/15) Apr 24 2015 My apologies, the problem was caused by the font colour (black)
- Jesse Phillips (3/10) Apr 24 2015 Without debug symbols the line numbers aren't available (IIRC).
- Steven Schveighoffer (3/15) Apr 24 2015 That's only for exceptions. Compiler always gives line numbers.
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
Apr 24 2015
On 4/24/15 1:20 PM, 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?It does post line numbers. Please post source and compile line that causes this, and also result so it may be duplicated. -Steve
Apr 24 2015
On Friday, 24 April 2015 at 17:45:49 UTC, Steven Schveighoffer wrote:On 4/24/15 1:20 PM, John Nixon wrote:My apologies, the problem was caused by the font colour (black) not visible with Terminal using a black background. John NixonI 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?It does post line numbers. Please post source and compile line that causes this, and also result so it may be duplicated. -Steve
Apr 24 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 NixonWithout debug symbols the line numbers aren't available (IIRC). Add -g to your compile switches.
Apr 24 2015
On 4/24/15 2:24 PM, Jesse Phillips wrote:On Friday, 24 April 2015 at 17:20:12 UTC, John Nixon wrote:That's only for exceptions. Compiler always gives line numbers. -SteveI 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 NixonWithout debug symbols the line numbers aren't available (IIRC). Add -g to your compile switches.
Apr 24 2015