no line numbers in error message...

89 views
Skip to first unread message

Michael Green

unread,
Feb 15, 2026, 12:42:14 PM (3 days ago) Feb 15
to Harbour Users
...When I compile with an external library, example:
hbmk2 -lhbct.hbc -oprstart2 prstart
run time errors don't have line numbers in the error
message. They all show 0. When I compile without libraries the error 
message has numbers for the guilty line.

Am I doing something wrong or is this expected behavior? Thanks.

José M. C. Quintas

unread,
Feb 15, 2026, 8:47:47 PM (3 days ago) Feb 15
to harbou...@googlegroups.com
When compile using -l, there no exists line number.

Libraries are compiled on this way, by default.

Do you add -l on parameters ?

Or maybe you add space -l hbct.hbc ?


José M. C. Quintas


Don Lowenstein

unread,
Feb 16, 2026, 10:31:26 AM (3 days ago) Feb 16
to Harbour Users
Compiler switches:

/l (L) will supress line numbers - be sure this is not used.

/b (B) included debug info - be sure this is used.


From: harbou...@googlegroups.com <harbou...@googlegroups.com> on behalf of Michael Green <michael...@gmail.com>
Sent: Sunday, February 15, 2026 11:42 AM
To: Harbour Users <harbou...@googlegroups.com>
Subject: [harbour-users] no line numbers in error message...
 
GRAPHUS
Warning: The sender @harbour-users@googlegroups​.com might be a spam sender.
powered by Graphus®
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/f80e3fd2-5261-4aeb-9e81-6c1069bce61fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages