pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] Pan 0.90 on MingW


From: Gisle Vanem
Subject: [Pan-devel] Pan 0.90 on MingW
Date: Tue, 04 Apr 2006 22:07:12 +0200

Has anybody succeeded building the 0.90 version on MingW? I'm trying
(using a modified Makefile.MingW from the 0.14 version. That works fine BTW).
But my attempt to compile the first .cc file fails with some error that are
unfamiliar to me (I'm pretty new to such heavy C++...)

Here's the makefile command:

g++ -c -g -O2 -Wall -mms-bitfields -DWIN32=1 -DWIN32_LEAN_AND_MEAN -DHAVE_GNET_2 -DSEEK_SET=0 -DSEEK_CUR=1 -DSEEK_END=2 -DHAVE_TIMEZONE -Dtimezone=_timezone -DGETTEXT_PACKAGE=\"pan\" -DG_GNUC_INTERNAL= -DLIBXML_STATIC -DLIBICONV_STATIC -DPCRE_STATIC -DLOCALEDIR=\"g:/MingW32/share\" -Dulong=uint32_t -DPACKAGE=\"pan\" -DVERSION=\"0.90\" -I. -I.. -I../../gmime/.. -Ig:/MingW32/include/glib-2.0 -I../../../gnet-2.0.6 -I../../../gnet-2.0.6/src -Ig:/MingW32/include/gtk-2.0 -Ig:/MingW32/include/gtk-2.0/gdk -Ig:/MingW32/include/gtk-2.0/gtk -Ig:/MingW32/include/pango-1.0 -Ig:/MingW32/include/atk-1.0 -Ig:/MingW32/include/cairo -I../../../../libxml2-2.6.17/include -I../../../../libpcre -o MingW32_obj/article-cache.o data/article-cache.cc

And the errors (edited for clarity):

g:/Mingw32/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_function.h: In member function `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = pan::StringView]':

g:/Mingw32/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:871: instantiated from `std::pair<typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::insert_unique(const _Val&) [with _Key = pan::StringView, _Val = std::pair<const pan::StringView, pan::Quark::Impl>, _KeyOfValue = std::_Select1st<std::pair<const pan::StringView, pan::Quark::Impl> >,
_Compare = std::less<pan::StringView>, _Alloc = std::allocator<std::pair<const 
pan::StringView, pan::Quark::Impl> >]'

g:/Mingw32/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h:360: instantiated from `std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const std::pair<const _Key, _Tp>&) [with _Key = pan::StringView, _Tp = pan::Quark::Impl, _Compare = std::less<pan::StringView>, _Alloc = std::allocator<std::pair<const pan::StringView, pan::Quark::Impl> >]'
../pan/general/quark.h:87:   instantiated from here

g:/Mingw32/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_function.h:227: error: no match for 'operator<' in '__x < __y'

---------------------

Can anybody make sense of this? Is my C++ (3.4.5) too old?

--gv




reply via email to

[Prev in Thread] Current Thread [Next in Thread]