id summary reporter owner description type status milestone component version severity resolution keywords cc 6060 Warning generated in SNC C++ compiler by use of __sync_fetch_and_add Fernando Diaz Peter Dimov "When compiling code that uses boost/shared_array.hpp in SNC C++ compiler, the following warning is generated: ../../SDKs/Boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp(48,37): warning 68: integer conversion resulted in a change of sign in this line: {{{ return __sync_fetch_and_add( pw, -1 ); }}} I've managed to fix the warning by replacing ""__sync_fetch_and_add"" with ""__sync_fetch_and_sub"", and changing the second argument from ""-1"" to ""1"". I've included a patch, hope it helps." Patches closed To Be Determined smart_ptr Boost 1.47.0 Optimization wontfix