Re: clang doesn't like -std=c++11 for Objective C files

2016-02-23 Thread Jean-Marc Lasgouttes
Le 22/02/2016 21:49, Stephan Witt a écrit : With first patch applied compiling AppleSpeller.o succeeds. Great. So I have your +1 to apply this first patch? I prefer to go step by step. Yes, +1. Very good. It is in now. Maybe. What I don’t understand, why it isn’t simply working then? Is i

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-22 Thread Stephan Witt
Am 22.02.2016 um 15:06 schrieb Jean-Marc Lasgouttes : > > Le 22/02/2016 14:37, Stephan Witt a écrit : >>> So, could you tell me what happens when you do (with my first patch) >>> cd src/support && make AppleSpeller.o >> >> With first patch applied compiling AppleSpeller.o succeeds. > > Great. So

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-22 Thread Jean-Marc Lasgouttes
Le 22/02/2016 14:37, Stephan Witt a écrit : So, could you tell me what happens when you do (with my first patch) cd src/support && make AppleSpeller.o With first patch applied compiling AppleSpeller.o succeeds. Great. So I have your +1 to apply this first patch? I prefer to go step by step.

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-22 Thread Jean-Marc Lasgouttes
Le 17/02/2016 11:41, Stephan Witt a écrit : You are not answering my question :) The question was "does it allow to compile .m files in C++11 mode?“ It looks like I didn’t know the answer. Perhaps I shouldn’t have give an answer :) So, could you tell me what happens when you do (with my first

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-17 Thread Jean-Marc Lasgouttes
Le 17/02/2016 07:56, Stephan Witt a écrit : Dear Patrick, dear Stephan, Could you try the attached patch in C++11 mode? It doesn’t help, unfortunately. You are not answering my question :) The question was "does it allow to compile .m files in C++11 mode?" As far as your other compile pr

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-16 Thread Jean-Marc Lasgouttes
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' I moved the '-std=c++11' from the CPPFLAGS to the CXXFLAGS and defined OBJCFLAGS. (patch i

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-03 Thread Jean-Marc Lasgouttes
Le 02/02/2016 21:41, Stephan Witt a écrit : Yes, this doesn’t work. Sorry, I forgot I’m always call the script for 2.2.x with -—disable-cxx11 - so it’s not surprising I don’t have problems with ObjC. If I omit this switch it refuses to compile source files with Qt-headers. In file included from

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-02 Thread Stephan Witt
Am 02.02.2016 um 21:05 schrieb pdv : > > On 02/02/16 09:19, Stephan Witt wrote: >> Am 01.02.2016 um 21:39 schrieb pdv : >>> >>> On 01/02/16 15:54, Stephan Witt wrote: Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes : > > Le 30/01/2016 09:55, pdv a écrit : >> Hi, >>

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-02 Thread pdv
On 02/02/16 09:05, Jean-Marc Lasgouttes wrote: Le 01/02/2016 20:13, pdv a écrit : On 01/02/16 15:49, Jean-Marc Lasgouttes wrote: 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 autoc

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-02 Thread pdv
On 02/02/16 09:19, Stephan Witt wrote: Am 01.02.2016 um 21:39 schrieb pdv : On 01/02/16 15:54, Stephan Witt wrote: Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes : Le 30/01/2016 09:55, pdv a écrit : Hi, Build under OS X fails with: CXX userinfo.o CXX unicode.o OBJC

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-02 Thread Stephan Witt
Am 01.02.2016 um 21:39 schrieb pdv : > > On 01/02/16 15:54, Stephan Witt wrote: >> Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes : >>> >>> Le 30/01/2016 09:55, pdv a écrit : Hi, Build under OS X fails with: CXX userinfo.o CXX unicode.o OB

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-02 Thread Jean-Marc Lasgouttes
Le 01/02/2016 20:13, pdv a écrit : On 01/02/16 15:49, Jean-Marc Lasgouttes wrote: 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. This is with OS X 10.11,

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-01 Thread pdv
On 01/02/16 15:54, Stephan Witt wrote: Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes : 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/Ob

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-01 Thread Stephan Witt
Am 01.02.2016 um 15:49 schrieb Jean-Marc Lasgouttes : > > 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 vers

Re: clang doesn't like -std=c++11 for Objective C files

2016-02-01 Thread Jean-Marc Lasgouttes
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 p

clang doesn't like -std=c++11 for Objective C files

2016-01-30 Thread pdv
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' I moved the '-std=c++11' from the CPPFLAGS to the CXXFLAGS and defined OBJCFLAGS. (patch included) Regards, Patrick De Vissch