From: SourceForge.net <no...@so...> - 2008-09-22 15:59:08
|
Bugs item #2121748, was opened at 2008-09-21 13:59 Message generated for change (Comment added) made by keithmarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2121748&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: SquallATF (squallatf) >Assigned to: Chris Sutcliffe (ir0nh34d) >Summary: w32api-3.12:vfw.h: usage of WM_CAP_FIRST[AW] is invalid Initial Comment: at line 1203 and 1204 undefined WM_CAP_FIRSTA and WM_CAP_FIRSTW the compiler will report error: 'WM_CAP_FIRSTA' undeclared (first use in this function) ---------------------------------------------------------------------- >Comment By: Keith Marshall (keithmarshall) Date: 2008-09-22 15:59 Message: Firstly, this was incorrectly reported as a mingwrt-3.15 issue; it is a w32api-3.12 issue. Indeed, the pair of `#undef's at lines 1203 and 1204 invalidate the entire block of `#define's appearing between lines 1137 and 1201 inclusively; at point-of-use, each of these `#define's requires that one or other of WM_CAP_FIRSTA or WM_CAP_FIRSTW remains as `#define'd on line 1134 or 1135 respectively. By inference, this also invalidates the block of generic `#define's appearing between lines 1206 and 1232. Similarly, the `#undef capSendMessage' on line 1292 invalidates the block of `#define's appearing between lines 1236 and 1290. The obvious solution would seem to be to simply delete the three `#undef' statements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2121748&group_id=2435 |