On Wednesday, October 8, 2003, at 11:37 AM, Jean-Marc Lasgouttes wrote:
Ronald, could you tell us again what kind of error this cures?
With gcc-2.95.2, which is the only Apple compiler that can compile LyX-1.3.x, the errors w/o #define BOOST_REGEX_NARROW_INSTANTIATE are:
/usr/bin/ld: Undefined symbols:
__._Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1 Zc
___Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1Z cPCcUiRCB2
___Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcRCB1
_allocator__CQ35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc
_cow__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc
_m_free__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc
_set_first__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcP Cc
_set_first__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcP CcUl
_set_size__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcUl PCcn1
_set_expression__Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1Zc Zt9allocator1ZcPCcn1Ui
___Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1Z cRCB0
___Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1Z cRCB2
___as__Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocat or1ZcRCB0
_allocator__CQ25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9a llocator1Zc
The define doesn't seem to be necessary for Apple's gcc-3.3, but I haven't successfully compiled and linked LyX-1.3.3 with that compiler.
--
Ronald