Bugs item #1768189, was opened at 2007-08-06 00:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=1768189&group_id=173455
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: MinGW32CE (arm-wince-mingw32ce Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: LocalLock and LocalUnlock - winbase.h Initial Comment: Compiler: arm-wince-mingw32ce SVN version: 1039 Compiled from source under Cygwin. Problem: undefined externals after linking UPP example See http://www.ultimatepp.org and http://www.ultimatepp.org/forum/index.php?t=msg&goto=10942&#msg_10942 Possible cause: LocalLock and LocalUnlock are defined as macros in Microsoft's winbase.h - but in cegcc, these macros aren't defined. I changed winbase.h so the definitions of these functions are: #ifndef _WIN32_WCE WINBASEAPI PVOID WINAPI LocalLock(HLOCAL); WINBASEAPI BOOL WINAPI LocalUnlock(HLOCAL); WINBASEAPI HLOCAL WINAPI LocalHandle(LPCVOID); WINBASEAPI UINT WINAPI LocalFlags(HLOCAL); /* Obsolete: Has no effect. */ #else #define LocalLock(X) ((LPVOID)(X)) #define LocalUnlock(X) (0) #define LocalHandle(X) ((HLOCAL)(X)) #define LocalFlags(X) (0) #endif ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=1768189&group_id=173455 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel