|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Fox 1.7.20 and MinGWI had some troubles getting fox-1.7.20 to compile with mingw.
It looks to me like the windows function calls in FXAtomic.h should be moved to FXAtomic.cpp so that windows.h can be properly included. Also, four of the Interlocked* functions are not available in the latest (3.13) mingw API headers: InterlockedAdd, InterlockedAnd, InterlockedOr, InterlockedXor. According to what I read on the msdn website, InterlockedAdd is available only on Itanium architecture, and the other three are implemented as "compiler intrinsics" whatever that means. The other InterlockedExchange* functions are available on mingw, but only if I define _WIN32_WINNT=0x0501 or __USE_NTOSKRNL__, so I had to hack the configure.ac and re-run autotools in order to get configure to stop ignoring my CXXFLAGS. The 0x0501 trick didn't work anyway, because it caused some code from FXApp.cpp to be included, and there is something there named "spaceNavHandle" that is used but never declared. But the -D__USE_NTOSKRNL__ did work, and I was able to cross-compile adie on mingw/linux and run it on Win2k, after ifdef'ing out the offending functions and manually including windows.h in the FXAtomic.h header. I doubt that any of these changes will work for Windows 9x, which the INSTALL file claims to support, and the Imm* functions in FXComposeContext.cpp probably won't work there either. (Maybe the best thing for Win9x is to change the INSTALL file :-) I'm really not much of a Windows guy, so apologies if this stuff has already been addressed, or if I am just completely wrong... Regards, - Jeff ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
| Free embeddable forum powered by Nabble | Forum Help |