From: SourceForge.net <no...@so...> - 2009-01-20 22:34:30
|
Bugs item #2524968, was opened at 2009-01-21 00:22 Message generated for change (Settings changed) made by alxvasilev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2524968&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: 8 Private: No Submitted By: Alexander Vassilev (alxvasilev) Assigned to: Nobody/Anonymous (nobody) Summary: InterlockedIncrement() WinAPI prototype missing volatile Initial Comment: The prototypes of the WinAPIs InterlockedIncrement(), InterlockedDecrement() and InterlockedExchange() (and possibly others) in winbase.h are declared without the 'volatile' modifier, whereas in MSDN documentation they are volatile. This can cause compilation problems, and workarounds ignoring 'volatile' can potentially be dangerous ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2524968&group_id=2435 |