5 Feb 01:37
[ mingw-Bugs-3484471 ] Inconsistent prototype of VerQueryValue
This list is used to send updates of submitted patches, bug reports and file releases. You are discouraged from posting to this list. If you wish to unsubscribe you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify. Bugs item #3484471, was opened at 2012-02-04 16:37 Message generated for change (Tracker Item Submitted) made by yak1ex You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3484471&group_id=2435 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: w32api Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Yak! (yak1ex) Assigned to: Nobody/Anonymous (nobody) Summary: Inconsistent prototype of VerQueryValue Initial Comment: The first parameter of VerQueryValue should be LPCVOID according to MSDN document. On the other hand, in winver.h in w32api, the first parameter is declared as const LPVOID. LPCVOID and const LPVOID are different types. The former is a pointer to const void and the latter is a const pointer to void. http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winver.h?rev=1.5&content-type=text/x-cvsweb-markup&cvsroot=src http://msdn.microsoft.com/en-us/library/ms647464(VS.85).aspx ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3484471&group_id=2435 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
RSS Feed