From: SourceForge.net <no...@so...> - 2004-11-21 13:31:39
|
Bugs item #1070442, was opened at 2004-11-21 13:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1070442&group_id=2435 Category: w32api Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kleenex (kleenex) Assigned to: Nobody/Anonymous (nobody) Summary: VerSetConditionMask error Initial Comment: I have found a small problem using mingw's g++ version 3. 4.2 and w32api-3.1. When I try to compile the following code; dwlConditionMask = VerSetConditionMask(dwlConditionMask, VER_MAJORVERSION, VER_GREATER_EQUAL); I'll get an error: "undefined reference to 'VerSetConditionMask@16". libkernel32.a defines _VerSetConditionMask@13 (libntoskrnl.a defines _VerSetConditionMask@12). In the winnt.h file (line 3323) there is also an small typo. #if (WIN32_WINNT >= 0x0500) ULONGLONG WINAPI VerSetConditionMask(ULONGLONG, DWORD,BYTE); #endif WIN32_WINNT misses an underscore (_WIN32_WINNT). Kleenex ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1070442&group_id=2435 |