I've normally been compiling lyx-140 on Mac OS X with gcc 3.3 for backwards compatibility, and everything works fine. However, looking forward to supporting Intel-based Macs will require gcc-4.0. When I try, however, I get the error copied below.

Any suggestions on a fix?

Thanks.

Bennett

-------------

Making all in insets
make  all-am
source='ExternalTransforms.C' object='ExternalTransforms.lo' libtool=yes \ depfile='.deps/ExternalTransforms.Plo' tmpdepfile='.deps/ ExternalTransforms.TPlo' \
depmode=gcc3 /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. - I../../src -Winvalid-pch --include=./pch.h -I./.. -I../../boost - Wextra -Wall -fno-exceptions -g -O3 -c -o ExternalTransforms.lo `test -f 'ExternalTransforms.C' || echo './'`ExternalTransforms.C g++ -DHAVE_CONFIG_H -I. -I. -I../../src -Winvalid-pch --include=./ pch.h -I./.. -I../../boost -Wextra -Wall -fno-exceptions -g -O3 -c ExternalTransforms.C -MT ExternalTransforms.lo -MD -MP -MF .deps/ ExternalTransforms.TPlo -o ExternalTransforms.o ../../boost/boost/regex/v4/regex_compile.hpp: In member function 'boost::re_detail::re_syntax_base* boost::reg_expression<charT, traits, Allocator>::compile_set_simple (boost::re_detail::re_syntax_base*, long unsigned int, bool) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]': ../../boost/boost/regex/v4/regex_compile.hpp:1635: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:238: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/regex_compile.hpp:110: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const charT*, boost::regex_constants::syntax_option_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:340: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const charT*, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
ExternalTransforms.C:285:   instantiated from here
../../boost/boost/regex/v4/regex_compile.hpp:726: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../../boost/boost/regex/v4/regex_compile.hpp:726: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:726: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../../boost/boost/regex/v4/regex_compile.hpp:726: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp: In member function 'boost::re_detail::re_syntax_base* boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]': ../../boost/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:238: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/regex_compile.hpp:110: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const charT*, boost::regex_constants::syntax_option_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:340: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const charT*, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
ExternalTransforms.C:285:   instantiated from here
../../boost/boost/regex/v4/regex_compile.hpp:799: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:799: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:807: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../../boost/boost/regex/v4/regex_compile.hpp:807: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:807: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../../boost/boost/regex/v4/regex_compile.hpp:807: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:238: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/regex_compile.hpp:110: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const charT*, boost::regex_constants::syntax_option_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:340: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const charT*, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
ExternalTransforms.C:285:   instantiated from here
../../boost/boost/regex/v4/regex_compile.hpp:918: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:918: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:238: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/regex_compile.hpp:110: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const charT*, boost::regex_constants::syntax_option_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../../boost/boost/regex/v4/basic_regex.hpp:340: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const charT*, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
ExternalTransforms.C:285:   instantiated from here
../../boost/boost/regex/v4/regex_compile.hpp:941: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:941: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:952: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:952: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:963: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:963: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:974: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:974: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:985: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:985: error: trying to instantiate 'template<class T> struct boost::is_integral' ../../boost/boost/regex/v4/regex_compile.hpp:1026: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../../boost/boost/regex/v4/regex_compile.hpp:1026: error: trying to instantiate 'template<class T> struct boost::is_integral'
make[4]: *** [ExternalTransforms.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Reply via email to