Page 2 of 2

Re: xHarbour: no line numbers on compile errors

Posted: Wed Oct 09, 2013 8:40 am
by richard-service
Antonio,

work fine for me.
P:\FWHTEST>harbour test /n /w
xHarbour 1.2.3 Intl. (SimpLex) (Build 20130903)
Copyright 1999-2013, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'test.prg'...
test.prg(3) Warning W0001 Ambiguous reference: 'X'
test.prg(3) Warning W0001 Ambiguous reference: 'X'
test.prg(4) Error E0030 Syntax error: "syntax error at '-'"
1 error

No code generated

Re: xHarbour: no line numbers on compile errors

Posted: Wed Oct 09, 2013 10:06 am
by nageswaragunupudi
I am using latest build of xHarbour made available by FWH
xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)

Everything is working well for me.

Re: xHarbour: no line numbers on compile errors

Posted: Wed Oct 09, 2013 10:34 am
by Otto
Hello ,
could it be that you have set
/l suppress line number information
Best regards,
Otto

http://www.ousob.com/ng/harbour/ng69341.php

Re: xHarbour: no line numbers on compile errors

Posted: Thu Oct 10, 2013 3:49 pm
by richard-service
Hi Antonio,

I test it and work fine.
.\SOURCE32\TOfferMsf.prg(2169) Error E0030 Syntax error: "syntax error at 'ODLG
'"
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
HARBOUR.EXE /m /n /w /ip:\drlib32x\include;p:\drlib32x\bcc582\include;p:
\Resource\PellesC\include\win;;.\include .\SOURCE32\TOfferMsf.prg -o.\OBJ32\T
OfferMsf.c
xHarbour 1.2.3 Intl. (SimpLex) (Build 20130903)
Copyright 1999-2013, http://www.xharbour.org http://www.harbour-project.org/
Compiling '.\SOURCE32\TOfferMsf.prg'...
1 error

No code generated

** error 1 ** deleting .\OBJ32\TOfferMsf.c

Re: xHarbour: no line numbers on compile errors

Posted: Fri Oct 11, 2013 7:26 am
by MMK
Antonio Linares wrote:Enrico,

Not sure yet. I am helping a FWH and xHarbour user who reports that he does not get the line numbers.

Once he confirms me that its ok, then I will report it here also :-)

Last versions xHarbour print numbers of lines on the screen (if use buildx.bat). For comp.log it is possible to make so -
%hdir%\bin\harbour %1 /n /i%fwl%\include;%hdir%\include /w /p %2 %3 > comp.log 2>&1