Hi Luis,
Okay, it would be great to get an insight in that,
I hope Antonio will tell us some more.
Brgds,
Viktor
On 2008.08.21., at 17:36, Luis Krause Mantilla wrote:
Viktor:
In the case of FWH, Antonio uses them as wrappers
to legacy functions from FW 16 bit days to return the
number of local vars, param count etc at the .c level.
Antonio would have to explain in more detail exactly
why they're used.
Regards,
Szakáts Viktor wrote:
It would be nice to know why exactly FW or any
other 3rd party code need these access such internal
stuff. Maybe there is better existing solution to
replace them, or if these are indeed essential in
some real-world situations, we may want to think of
creating some documented and supported alternative
solution.
Brgds,
Viktor
On 2008.08.21., at 17:00, Luis Krause Mantilla wrote:
JF:
I added this to solve references in FW for Harbour (not xHarbour):
#ifndef __XHARBOUR__
Function HB_DBG_VMSTKLCOUNT(n)
Return __DBGVMSTKLCOUNT(n)
Function HB_DBG_VMPARLLIST(n)
Return __DBGVMPARLLIST(n)
Function HB_DBG_VMVARLGET(n1,n2)
Return __DBGVMVARLGET(n1,n2)
Function HB_DBG_VMVARSLEN()
Return __DBGVMVARSLEN()
#endif
And as you mentioned about 3 years ago Ryzard renamed them
from __VM.... to HB_DBG_VM...
Regards,
J. Lefebvre wrote:
Hi Viktor,
Not really a problem for me, only 4 function are used by Antonio
from FiveWin and I suppose he will replace them without any
problem. In the meantime, I already wrote a wrapper as a
workaround. I was just not sure it was the intention.
PS: Good job !
Friendly,
JF,
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] De la part de Szakáts Viktor
Envoyé : jeudi 21 août 2008 13:02
À : Harbour Project Main Developer List.
Objet : Re: [Harbour] Problem with debug.c ... All HB_DBG_VM...
func disapeared !
Hi JF,
Yes, this was the intention.
I'm not sure what exactly do you mean, but if you
happen to use these internal functions from your
code, you can either write some wrappers to them, or
search/replace them in your code to the new names.
Or, you can also use the stable Harbour 1.0.0 build,
until we have this matter stabilized in trunk.
in *.prg/*.ch, case-insensitive search & replace:
HB_DBG_ -> __DBG. Unfortunately you'll have to
take care not to touch HB_DBG_* _macros_ (if you
use them in your code), #defined in hbdebug.ch.
[ The debug interface is an internal one, not a
public one and it's not suited for normal app
code, hence the __DBG* name. HB_DBG_* was wrong.
You can find more if you search for '__DBG', or
'INCOMPATIBLE' in /ChangeLog ]
[ If this is a wide-spread problem for Harbour
users, we can add a file /source/debug/dbgold.c
with the required wrappers, but I anticipate this
is unnecessary for the majority of them. ]
[ Also notice, that very old __VM*() functions also
got removed by this move. ]
Brgds,
Viktor
On 2008.08.21., at 12:37, J. Lefebvre wrote:
Hi,
I just try a compile from a fresh SVN update and discovered
there is some missed function.
They got rename to their initial name 2 years ago ...
Ie ;
HB_DBG_VMVARSLEN() -> __DBGVMVARSLEN()
HB_DBG_VMPARLLIST() -> __DBGVMVARSLIST()
HB_DBG_VMSTKLCOUNT() -> __DBGVMSTKLCOUNT()
Not any more HB_DBG_... func within Harbour sources.
Regards,
JF
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour