Ouch, I have to confess I use --disable-concept-check, it dates back to
my first attempt to compile under windows and I never changed that. I
don't even know what exactly it does. I have checked in a fix that
should enable you to compile. I am going to reconfigure with
enable-concept-check to very that.
Sorry about that,
Abdel.
Bo Peng a écrit :
Making all in .
make[3]: Entering directory `/home/bpeng/lyx-devel/lyx-win/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Winvalid-pch --include=./pch.h
-I../boost -Wextra -Wall -I/usr/X11R6/include -g -O -MT toc.o -MD
-MP -MF ".deps/toc.Tpo" -c -o toc.o toc.C; \
then mv -f ".deps/toc.Tpo" ".deps/toc.Po"; else rm -f ".deps/toc.Tpo";
exit 1; fi
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/boost_concept_check.h:
In member function `lyx::TocBackend& lyx::TocBackend::operator=(const
lyx::TocBackend&)':
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/boost_concept_check.h:209:
instantiated from `void
__gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp =
lyx::TocBackend]'
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h:94:
instantiated from `std::map<const Buffer*, lyx::TocBackend,
std::less<const Buffer*>, std::allocator<std::pair<const Buffer*
const, lyx::TocBackend> > >'
toc.C:51: instantiated from here
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/boost_concept_check.h:209:
error: non-static const member `const lyx::TocBackend::Item
lyx::TocBackend::invalid_item_', can't use default assignment operator
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/boost_concept_check.h:209:
error: non-static const member `const
std::vector<lyx::TocBackend::Item,
std::allocator<lyx::TocBackend::Item> > lyx::TocBackend::empty_toc_',
can't use default assignment operator
make[3]: *** [toc.o] Error 1
Bo