Viktor:
About 4 years ago when Ryzsard renamed renamed this
funcs I added
2004-01-29 18:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw
/*dot*/ ca>
* source/vm/debug.c
+ add wrappers (some 3rd-party-libs still use these ones) for:
__VMSTKLCOUNT()
__VMPARLLIST()
__VMSTKLLIST()
__VMVARLGET()
__VMVARLSET()
* source/vm/hvm.c
+ add wrappers (some 3rd-party-libs still use these ones) for:
__VMVARSLIST()
__VMVARSLEN()
__VMVARSGET()
__VMVARSSET()
And I see you guarded them inside an #if 0
How about adding similar solution for those external libs like FWH
that will start blowing up with this change, i.e.
HB_FUNC( HB_DBG_VMSTKLCOUNT )
{
HB_FUNC_EXEC( __DBGVMSTKLCOUNT );
}
etc.
Regards,
Szakáts Viktor wrote:
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
--
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