- Code: Select all
error: ‘shared_mutex’ in namespace ‘std’ does not name a type
Quick google lookup brought this answer https://stackoverflow.com/questions/362 ... ilable-yet and indeed, upgrading gcc as described here http://tuxamito.com/wiki/index.php/Inst ... _in_Ubuntu solved the issue.
My point is, that if code relies on features not available in older versions of the compiler, perhaps a version/feature check should be added to the configuration stage?