>
> First try to check what MSVC exactly does.
> It's possible that it also strips startup initialization code.
> Set default GT to GTSTD.
> Add to hvm.c[7514] just after:
>   hb_vmVerifyPCodeVersion( szModuleName, uiPCodeVer );
> this code:
>   printf("registering module: `%s`\n", szModuleName);fflush(stdout);
>
> and check if startup code is executed and modules are registers.
> Please make this test for two versions: pure C build (/TC) and C++
> build (/TP). It's possible that the behavior will be different.
> It will give basic information about farther modifications.


I've checked with these settings:
set HB_COMPILER=msvc
set HB_USER_CFLAGS=-GL -TP
set HB_USER_LDFLAGS=/LTCG
set HB_USER_AFLAGS=/LTCG

And the text "registering module" isn't even present in the
final Harbour executables. So it looks a bit worse than expected.

Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to