FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xHarbour: no line numbers on compile errors
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: xHarbour: no line numbers on compile errors
Posted: Wed Oct 09, 2013 08:40 AM
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
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xHarbour: no line numbers on compile errors
Posted: Wed Oct 09, 2013 10:06 AM

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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: xHarbour: no line numbers on compile errors
Posted: Wed Oct 09, 2013 10:34 AM

Hello ,
could it be that you have set
/l suppress line number information
Best regards,
Otto

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

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: xHarbour: no line numbers on compile errors
Posted: Thu Oct 10, 2013 03:49 PM
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
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 16
Joined: Thu Jan 22, 2009 06:24 AM
Re: xHarbour: no line numbers on compile errors
Posted: Fri Oct 11, 2013 07:26 AM
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

Continue the discussion