xHarbour: no line numbers on compile errors

User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: xHarbour: no line numbers on compile errors

Post 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
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xHarbour: no line numbers on compile errors

Post 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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: xHarbour: no line numbers on compile errors

Post 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: xHarbour: no line numbers on compile errors

Post 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
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
MMK
Posts: 7
Joined: Thu Jan 22, 2009 6:24 am

Re: xHarbour: no line numbers on compile errors

Post 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
Post Reply