any ideas Lars?
Angus

cxx -std strict_ansi -DHAVE_CONFIG_H -I. -I../../../src/mathed -I../../src 
-I../../../src/mathed/../ -I../../../boost -I/usr/local/include -nopure_cname 
-nocleanup -msg_display_number -msg_disable 11,193,236,261,401,445,450,611 -w1 -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/build-xforms/lyx_cxx_repository -O2 -c -MD 
../../../src/mathed/formulamacro.C
cxx: Error: ../../../src/mathed/../BoostFormat.h, line 13: #463 "template" is
          not allowed
  template basic_format<char>;
--^
cxx: Error: ../../../src/mathed/../BoostFormat.h, line 13: #65 expected a ";"
  template basic_format<char>;
-----------^
cxx: Warning: ../../../src/mathed/../BoostFormat.h, line 13: #64-D declaration
          does not declare anything
  template basic_format<char>;
-----------^
cxx: Warning: ../../../boost/boost/format/parsing.hpp, line 108: #767-D
          conversion from pointer to smaller integer
          detected during:
            instantiation of "bool
                      boost::io::detail::parse_printf_directive(const
                      std::basic_string<Ch, Tr, std::allocator<U>> &,
                      std::basic_string<Ch, Tr, std::allocator<U>>::size_type
                      *, boost::io::detail::format_item<Ch, Tr> *,
                      std::basic_ios<charT, traits> &, unsigned char) [with
                      Ch=char, Tr=std::char_traits<char>]" at line 399
            instantiation of "void boost::basic_format<Ch, Tr>::parse(const
                      boost::basic_format<Ch, Tr>::string_t &) [with Ch=char,
                      Tr=std::char_traits<char>]" at line 39 of
                      "../../../boost/boost/format/format_implementation.hpp"
            instantiation of "boost::basic_format<Ch, Tr>::basic_format(const
                      Ch *) [with Ch=char, Tr=std::char_traits<char>]"
    assert( pos_p);
----^
cxx: Warning: ../../../boost/boost/format/parsing.hpp, line 72: #767-D conversion
          from pointer to smaller integer
          detected during:
            instantiation of "void boost::io::detail::skip_asterisk(const
                      std::basic_string<Ch, Tr, std::allocator<U>> &,
                      std::basic_string<Ch, Tr, std::allocator<U>>::size_type
                      *, std::basic_ios<charT, traits> &) [with Ch=char,
                      Tr=std::char_traits<char>]" at line 207
            instantiation of "bool
                      boost::io::detail::parse_printf_directive(const
                      std::basic_string<Ch, Tr, std::allocator<U>> &,
                      std::basic_string<Ch, Tr, std::allocator<U>>::size_type
                      *, boost::io::detail::format_item<Ch, Tr> *,
                      std::basic_ios<charT, traits> &, unsigned char) [with
                      Ch=char, Tr=std::char_traits<char>]" at line 399
            instantiation of "void boost::basic_format<Ch, Tr>::parse(const
                      boost::basic_format<Ch, Tr>::string_t &) [with Ch=char,
                      Tr=std::char_traits<char>]" at line 39 of
                      "../../../boost/boost/format/format_implementation.hpp"
            instantiation of "boost::basic_format<Ch, Tr>::basic_format(const
                      Ch *) [with Ch=char, Tr=std::char_traits<char>]"
    assert( pos_p);
----^
cxx: Info: 2 errors detected in the compilation of 
"../../../src/mathed/formulamacro.C".
make: *** [formulamacro.lo] Error 1


Reply via email to