Hi,
The floatname method is declared in two files: insetfloat.C and
insetwrap.C, causing a link error:

insets/.libs/libinsets.a(insetwrap.o): In function
`__gnu_debug::_Safe_iterator<std::_Rb_tree_iterator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, Floating> >,
__gnu_debug_def::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, Floating, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, Floating> > >
::_M_is_begin() const':
/home/gpothier/tmp/lyx-devel/src/insets/insetwrap.C:49: multiple
definition of `(anonymous
namespace)::floatname(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, BufferParams const&)'
insets/.libs/libinsets.a(insetfloat.o):/home/gpothier/tmp/lyx-devel/src/insets/insetfloat.C:119:
first defined here
/usr/bin/ld: Warning: size of symbol `(anonymous
namespace)::floatname(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, BufferParams const&)' changed from 4308
in insets/.libs/libinsets.a(insetfloat.o) to 4340 in
insets/.libs/libinsets.a(insetwrap.o)

Regards,
Guillaume Pothier

Reply via email to