<div dir="ltr">Hello François, <br><br><div class="gmail_quote"></div><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Jun 13, 2016 at 4:23 PM François Bérard <<a href="mailto:francois.berard@imag.fr" target="_blank">francois.berard@imag.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wietse,<br>
<br>
   I'm only using clang and its libc++ library. If you are using<br>
gcc/libstdc++, that may well explain the difference. But gcc/libstdc++<br>
is the standard on linux, and ref_ptr compiles fine there.<br>
<br>
   Do you *have to* use gcc? Otherwise, it may be easier to go with<br>
clang; which, I think, is the native toolchain on Mac OS. By the way, a<br>
simple unzip, cmake, should select a clang build. Did you force gcc? One<br>
thing that I noticed is that when I create new Xcode projects/targets,<br>
xcode insists on overriding the default clang/libc++ by gcc/libstdc++ in<br>
the new project or target, so I have to remove the override by hand. Did<br>
you use cmake's xcode generator? This may explain why you had a gcc build.<br></blockquote><div><span style="line-height:1.5"><br></span></div></div></div><div dir="ltr"><div class="gmail_quote"><div><span style="line-height:1.5">Sorry for the confusion, but I am using clang. I started with:</span></div><div><span style="line-height:1.5">    >> cmake -G "</span>Unix Makefiles"<br></div><div><br></div><div>Wietse</div><div><br></div><div><br></div></div></div></div>