On Thu, Nov 08, 2007 at 10:31:02PM +0100, Andre Poenitz wrote: > I am currently compiling with the attached changes. Would be nice if you > could verify that it would work for you as well.
I get the following error: g++ -DHAVE_CONFIG_H -I. -I../../../src/support -I../../src -I../../../src/support/.. -I../../../boost -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -DQ_CYGWIN_WIN -I/usr/local/qt/4.3.2/include -I/usr/local/qt/4.3.2/include/QtCore -I../../../src/support/minizip -pipe -O2 -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c ../../../src/support/convert.cpp -o convert.o In file included from ../../../src/support/convert.h:19, from ../../../src/support/convert.cpp:14: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h: In instantiation of `std::basic_string<lyx::char_type, std::char_traits<lyx::char_type>, std::allocator<lyx::char_type> >': ../../../src/support/../support/docstring.h:63: instantiated from here /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h:115: error: invalid use of undefined type `struct std::char_traits<lyx::char_type>' ../../../src/support/../support/strfwd.h:36: error: declaration of `struct std::char_traits<lyx::char_type>' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.tcc: In member function `_CharT* std::basic_string<Char, Traits, Alloc>::_Rep::_M_clone(const _Alloc&, typename _Alloc::size_type) [with _CharT = lyx::char_type, _Traits = std::char_traits<lyx::char_type>, _Alloc = std::allocator<lyx::char_type>]': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h:203: instantiated from `_CharT* std::basic_string<Char, Traits, Alloc>::_Rep::_M_grab(const _Alloc&, const _Alloc&) [with _CharT = lyx::char_type, _Traits = std::char_traits<lyx::char_type>, _Alloc = std::allocator<lyx::char_type>]' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.tcc:185: instantiated from `std::basic_string<Char, Traits, Alloc>::basic_string(const std::basic_string<Char, Traits, Alloc>&) [with _CharT = lyx::char_type, _Traits = std::char_traits<lyx::char_type>, _Alloc = std::allocator<lyx::char_type>]' ../../../src/support/convert.cpp:63: instantiated from here /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.tcc:552: error: incomplete type `std::char_traits<lyx::char_type>' used in nested name specifier make[4]: *** [convert.lo] Error 1 make[4]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src/support' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src/support' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src' make: *** [all-recursive] Error 1 -- Enrico