After copying manually the oorexx sourcecode from Mac (version as of December
16th, 2016), I have
started to create a debug version of 32-bit oorexx on Windows.
However, when compiling "oodPackageEntry.cpp" the following error occurs and
the building stops:
[ 85%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodPackageEntry.cpp.obj
oodPackageEntry.cpp
F:\debug_oorexx\from_macosx\main\trunk\extensions\platform\windows\oodialog\oodPackageEntry.cpp(444):
error C2373: "__pfnDliFailureHook2": Neudefinition; unterschiedliche
Modifizierer
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\delayimp.h(141): note:
Siehe Deklaration
von "__pfnDliFailureHook2" NMAKE : fatal error U1077:
"E:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe":
Rückgabe-Code "0x2"
There is a problem with the declaration of "__pfnDliFailureHook2".
Here is the definition in "delayimp.h" from Visual Studio 14.0:
F:\debug_oorexx\from_macosx\main\trunk>grep -nr3 "PfnDliHook"
"E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\"
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-78-
DWORD dwLastError;// error received (if an error notif
ication)
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-79- }
DelayLoadInfo, * PDelayLoadInfo;
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-80-
E:\Programme\Microsoft Visual Studio
14.0\VC\INCLUDE\/delayimp.h:81:*typedef FARPROC (WINAPI *PfnDliHook)*(
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-82-
unsigned dliNotify,
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-83-
PDelayLoadInfo pdli
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-84- );
--
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-137-ExternC
E:\Programme\Microsoft Visual Studio
14.0\VC\INCLUDE\/delayimp.h-138-#ifndef DELAYIMP_INSECURE_WRITABLE_HOOKS
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-139-const
E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\/delayimp.h-140-#endif
E:\Programme\Microsoft Visual Studio
14.0\VC\INCLUDE\/delayimp.h:*141:PfnDliHook __pfnDliFailureHook2;*
Here is the definition in "oodPackageEntry.cpp" from
"extensions/platform/windows/oodialog":
F:\debug_oorexx\from_macosx\main\trunk>grep -nr3 "delayFailHook" *
extensions/platform/windows/oodialog/oodPackageEntry.cpp-409- *
recover from the error, otherwise NULL. We can not recover from this
extensions/platform/windows/oodialog/oodPackageEntry.cpp-410- * so
we return NULL.
extensions/platform/windows/oodialog/oodPackageEntry.cpp-411- */
extensions/platform/windows/oodialog/oodPackageEntry.cpp:412:*FARPROC
WINAPI delayFailHook(unsigned int dliNotify, PDelayLoadInfo pdli)*
extensions/platform/windows/oodialog/oodPackageEntry.cpp-413-{
extensions/platform/windows/oodialog/oodPackageEntry.cpp-414- switch
(dliNotify)
extensions/platform/windows/oodialog/oodPackageEntry.cpp-415- {
--
extensions/platform/windows/oodialog/oodPackageEntry.cpp-441- return
NULL;
extensions/platform/windows/oodialog/oodPackageEntry.cpp-442-}
extensions/platform/windows/oodialog/oodPackageEntry.cpp-443-
extensions/platform/windows/oodialog/oodPackageEntry.cpp:*444:PfnDliHook
__pfnDliFailureHook2 = delayFailHook;*
extensions/platform/windows/oodialog/oodPackageEntry.cpp-445-
extensions/platform/windows/oodialog/oodPackageEntry.cpp-446-#if 0
extensions/platform/windows/oodialog/oodPackageEntry.cpp-447-/**
What should I do to proceed?
---
It seems, that oorexx itself got built already, such that there is no need for
me currently, to get
any further with the build. Still, it might be interesting to learn about this.
---rony
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel