I fixed this at 21866. And #include "support/strfwd.h" didn't work....

rh

Richard Heck wrote:

This is from a fresh co:

if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I../boost -Wextra -Wall -g -O -MT ASpell.o -MD -MP -MF ".deps/ASpell.Tpo" -c -o ASpell.o ASpell.cpp; \ then mv -f ".deps/ASpell.Tpo" ".deps/ASpell.Po"; else rm -f ".deps/ASpell.Tpo"; exit 1; fi /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h: In instantiation of ‘__gnu_cxx::_BinaryFunctionConcept<std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’: /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_map.h:105: instantiated from ‘__gnu_norm::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller> > >’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/debug/map.h:45: instantiated from ‘__gnu_debug_def::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller> > >’
ASpell_local.h:73: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h:361: error: ‘__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, _Second>::__first’ has incomplete type ./support/strfwd.h:42: error: declaration of ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h:362: error: ‘__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, _Second>::__second’ has incomplete type ./support/strfwd.h:42: error: declaration of ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h: In member function ‘void __gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, _Second>::__constraints() [with _Func = std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Return = bool, _First = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Second = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’: /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_map.h:105: instantiated from ‘__gnu_norm::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller> > >’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/debug/map.h:45: instantiated from ‘__gnu_debug_def::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lyx::ASpell::Speller> > >’
ASpell_local.h:73: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h:358: error: using invalid field ‘__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, _Second>::__first’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/boost_concept_check.h:358: error: using invalid field ‘__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, _Second>::__second’
make[3]: *** [ASpell.o] Error 1
make[3]: Leaving directory `/cvs/lyx-devel/trunk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cvs/lyx-devel/trunk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cvs/lyx-devel/trunk/src'
make: *** [all-recursive] Error 1



--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to