Hi Lyxers, this is Mac OS X 10.6.8 with $ g++ -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
... CXX trivstring.o In file included from /Users/stephan/git/lyx/src/support/trivstring.cpp:13: /Users/stephan/git/lyx/src/support/../support/trivstring.h:66: error: expected ‘,’ or ‘...’ before ‘>’ token /Users/stephan/git/lyx/src/support/../support/trivstring.h:65: error: wrong number of template arguments (1, should be 3) /Users/stephan/git/lyx/src/support/../support/strfwd.h:46: error: provided for ‘template<class Char, class Traits, class Alloc> struct std::basic_string’ /Users/stephan/git/lyx/src/support/../support/trivstring.h:66: error: default argument missing for parameter 3 of ‘lyx::trivial_string<Char> lyx::trivial_string<Char>::substr(size_t, size_t, std::char_traits<Char>, std::allocator<Char>) const’ /Users/stephan/git/lyx/src/support/../support/trivstring.h:66: error: default argument missing for parameter 4 of ‘lyx::trivial_string<Char> lyx::trivial_string<Char>::substr(size_t, size_t, std::char_traits<Char>, std::allocator<Char>) const’ /Users/stephan/git/lyx/src/support/trivstring.cpp:163: error: template-id ‘substr<>’ for ‘lyx::trivial_string<char> lyx::trivial_string<char>::substr(size_t, size_t) const’ does not match any template declaration /Users/stephan/git/lyx/src/support/trivstring.cpp:164: error: template-id ‘substr<>’ for ‘lyx::trivial_string<wchar_t> lyx::trivial_string<wchar_t>::substr(size_t, size_t) const’ does not match any template declaration /Users/stephan/git/lyx/src/support/trivstring.cpp:166: error: prototype for ‘lyx::trivial_string<Char> lyx::trivial_string<Char>::substr(size_t, size_t) const’ does not match any in class ‘lyx::trivial_string<Char>’ /Users/stephan/git/lyx/src/support/../support/trivstring.h:66: error: candidate is: lyx::trivial_string<Char> lyx::trivial_string<Char>::substr(size_t, size_t, std::char_traits<Char>, std::allocator<Char>) const /Users/stephan/git/lyx/src/support/trivstring.cpp:166: error: template definition of non-template ‘lyx::trivial_string<Char> lyx::trivial_string<Char>::substr(size_t, size_t) const’ make[5]: *** [trivstring.o] Error 1 Best wishes and a merry christmas Stephan
