From: SourceForge.net <no...@so...> - 2004-11-21 20:27:26
|
Bugs item #1070442, was opened at 2004-11-22 02:31 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1070442&group_id=2435 Category: w32api Group: None >Status: Closed >Resolution: Fixed 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 ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-11-22 08:46 Message: Logged In: YES user_id=11494 The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically merged into the MinGW CVS tree. If you still find problems then please open a new report. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1070442&group_id=2435 |