Boost logo

Boost :

Subject: Re: [boost] clang-3.6 thread sanitizer complainsonshared_ptroperations
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-21 18:15:52


> Gaetano Mendola wrote:
> > 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?
>
> It's probably doing something different, but it would be nice to know
> what. What standard library are you using by default? The one coming with
> your g++ installation, I suppose, but which g++ is it?

Also, can you please post the output when using -DBOOST_SP_USE_STD_ATOMIC?
It should be different from the one without.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk