I noticed that in Harbour the function MAIN is the implicit starting
function by default. Can we do the same for xHarbour?
I noticed that in Harbour the function MAIN is the implicit starting
function by default. Can we do the same for xHarbour?
I noticed that in Harbour the function MAIN is the implicit starting
function by default. Can we do the same for xHarbour?
I am shocked. This REALLY breaks Clipper compatability!
They refused so many of my contributions that did not break comptabilily
like adding an extra argument to aDel() or supporting negative argument
for SubStr(), with the excuse that it would "BREAK Clipper ERROR COMPATABILITY" :)
Anyway I do not see any reason to make such change.
Il 10/01/2024 17:22, Ron Pinkas ha scritto:
I noticed that in Harbour the function MAIN is the implicit starting function by default. Can we do the same for xHarbour?
I am shocked. This REALLY breaks Clipper compatability!
They refused so many of my contributions that did not break comptabilily like adding an extra argument to aDel() or supporting negative argument
for SubStr(), with the excuse that it would "BREAK Clipper ERROR COMPATABILITY" :)
Anyway I do not see any reason to make such change.
I see one: many compilers (at least MSC and BCC CLANG) allow parallel compilation of multiple modules. This speed up the compilation a lot,
but the order of the modules is unpredictable so the MAIN function could
not be in the first linked module. But don't worry, there are other ways
to achieve the same, no problem. Anyway, who cares of Clipper
compatibility nowadays?
I think compiling can be paralel but link is one command with explicit
order running afer all compiler threads ended.
Il 10/01/2024 21:55, Ron Pinkas ha scritto:
I think compiling can be paralel but link is one command with explicit order running afer all compiler threads ended.
Yes, but you will need an explicit list of the modules. I would prefer
to use *.obj instead.
Yes, but you will need an explicit list of the modules. I would prefer
to use *.obj instead.
I would strongly discourage such practice.
Il 11/01/2024 05:08, Ron Pinkas ha scritto:
Yes, but you will need an explicit list of the modules. I would prefer
to use *.obj instead.
I would strongly discourage such practice.
Sorry, but I'm using it for my work and it is working perfectly.
Clipper, Harbour, and xHarbour allready have such feature - you just need
to name your startup procedure _AppMain().
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 67:02:49 |
Calls: | 8,355 |
Calls today: | 15 |
Files: | 13,159 |
Messages: | 5,894,221 |
Posted today: | 1 |