On 2015-05-02 01:39 (+0200), Alex Valavanis wrote:
My test branch has an autotools test for basic C++11 compatibility (no new . Before I start adding any new features, please could some of the OS X or legacy support testers have a go at running the configure script on that branch and let me know how it goes? I suspect we'll need much more fine-grained feature tests if we're hoping to support older compilers
Branch is at
lp:~valavanisalex/inkscape/cpp11-port http://code.launchpad.net/~valavanisalex/inkscape/cpp11-port
Mac OS X 10.7.5, Xcode 4.3.2:
1) i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
checking build system type... x86_64-apple-darwin11.4.2 checking host system type... x86_64-apple-darwin11.4.2 checking for a BSD-compatible install... /Volumes/magenta/mp-trunk/quartz/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Volumes/magenta/mp-trunk/quartz/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for gcc... llvm-gcc-4.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether llvm-gcc-4.2 accepts -g... yes checking for llvm-gcc-4.2 option to accept ISO C89... none needed checking whether llvm-gcc-4.2 understands -c and -o together... yes checking dependency style of llvm-gcc-4.2... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking whether we are using the GNU C++ compiler... yes checking whether llvm-g++-4.2 accepts -g... yes checking dependency style of llvm-g++-4.2... gcc3 checking whether llvm-g++-4.2 supports C++11 features by default... no checking whether llvm-g++-4.2 supports C++11 features with -std=gnu++11... no checking whether llvm-g++-4.2 supports C++11 features with -std=gnu++0x... no checking whether llvm-g++-4.2 supports C++11 features with -std=c++11... no checking whether llvm-g++-4.2 supports C++11 features with -std=c++0x... no configure: error: *** A compiler with support for C++11 language features is required.
2) Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
checking build system type... x86_64-apple-darwin11.4.2 checking host system type... x86_64-apple-darwin11.4.2 checking for a BSD-compatible install... /Volumes/magenta/mp-trunk/quartz/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Volumes/magenta/mp-trunk/quartz/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for gcc... /usr/bin/clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/clang accepts -g... yes checking for /usr/bin/clang option to accept ISO C89... none needed checking whether /usr/bin/clang understands -c and -o together... yes checking dependency style of /usr/bin/clang... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/clang++ accepts -g... yes checking dependency style of /usr/bin/clang++... gcc3 checking whether /usr/bin/clang++ supports C++11 features by default... no checking whether /usr/bin/clang++ supports C++11 features with -std=gnu++11... no checking whether /usr/bin/clang++ supports C++11 features with -std=gnu++0x... no checking whether /usr/bin/clang++ supports C++11 features with -std=c++11... no checking whether /usr/bin/clang++ supports C++11 features with -std=c++0x... no configure: error: *** A compiler with support for C++11 language features is required.