Am Freitag, 29. Mai 2015 um 19:52:03, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> Le 28/05/2015 23:23, pdv a écrit :
> > Starting with commit b596330 lyx fails to compile with cmake/xcode.
> > This seems to be due to "boost::next" having been replaced by "next" and
> > this generates "ambiguous call to 'next'" semantic issues, one of the 2
> > possibilities being the "next" in lyxalgo.h mentioned in this message.
> > So this might be related to this;
> > I expected LYX_USE_CXX11 to be set (with the later commits that is), but
> > that's not the case;
> > When I manually define LYX_USE_CXX11 the problems with "next" go away,
> > but similar and much more semantic issues surface with "bind".
> 
> I suspect that there is a problem with clang, which implements parts of 
> C++11 even when not in c++11 mode.
> 
> Patrick, what are the options passed to cmake? What is your clang version?
> 
> JMarc

Good idea JMarc.

Patrick, do you use '-DLYX_ENABLE_CXX11=ON' in cmake call? (Default is OFF)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to