On 01/02/16 15:54, Stephan Witt wrote:
Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:

Le 30/01/2016 09:55, pdv a écrit :
Hi,

Build under OS X fails with:

   CXX      userinfo.o
   CXX      unicode.o
   OBJC     AppleSpeller.o
error: invalid argument '-std=c++11' not allowed with 'C/ObjC'

What version of Mac OS X is that? I had to add -std=c++11 to CPPFLAGS because 
the clang preprocessor needs it to select the proper libc++ stuff. Without it 
some autoconf tests would fail.

I had the same question. With clang 7.0.2 from Xcode 7 I have no problem 
without the patch.

Stephan


I'm also using XCode 7 and clang 7.0.2;

When I first experienced this problem I went back to the last commit which did build successfully and then moved forward in time in the hope to find the commit which introduced the error;
I ended up with the then last available commit without problem.

I've never understood how this is possible, since the script does a clean build, no?

pdv


I moved the '-std=c++11' from the CPPFLAGS to the CXXFLAGS and defined
OBJCFLAGS.

Well, it is where it used to be before  commit 39717adf %-|

JMarc




Reply via email to