
21 Jan
2015
21 Jan
'15
11 p.m.
On 01/21/2015 07:38 PM, Peter Dimov wrote:
Gaetano Mendola wrote:
Same issue with -DBOOST_SP_USE_STD_ATOMIC however with -DBOOST_SP_USE_PTHREADS the warning disappears.
Annoying.
If it persists when boost:: use is replaced with std::thread, std::mutex and std::shared_ptr, it should be obvious that it's not our fault. :-)
Replaced all the boost with the "equivalent" in std: http://pastebin.com/X6u1rD0c compiled with: clang++-3.6 -std=c++11 -g main_std.cpp -fsanitize=thread and clang++ *doesn't* complain. So either is our fault or std is doing something different? -- cpp-today.blogspot.it --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com