Compile error in mutex - by bugsurfer

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 723427 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/5/2012 3:08:18 AM
Access Restriction Public


Compile error in c:\program files (x86)\microsoft visual studio 11.0\vc\include\mutex line 299

The error is obvious. A bool funtion does not return anything.

snipplet from the header-file:

bool try_lock() _NOEXCEPT
{  // try to lock the mutex
    _Owns = _Pmtx->try_lock();
Sign in to post a comment.
Posted by Microsoft on 2/14/2012 at 6:33 PM

Thanks for reporting this bug. We've already fixed it, and the fix will be available in VC11.

If you have any further questions, feel free to E-mail me at .

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by EricLeong [Feedback Moderator] on 2/6/2012 at 2:22 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 2/5/2012 at 3:44 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(