On Sun, Jul 13, 2008 at 01:54:45PM +0200, Fabio Scotoni wrote:
> Hello,
>
> On Sun, 13 Jul 2008, Deleuze_AT_gmx.net wrote:
>>> http://code.suckless.org/dl/misc
>> Thanks for that. Really, I depend on that robust piece of code, which has proven to be stable the
>> last years. Anyway I need to go deeper into the dwm evaluation period and see if dwm can cope
>
> Is there any trick to compile it? I absoulutely failed to compile it,
> but i'm interested in wmi. If anybody cares, here the error:
> Making all in src
> make[2]: Entering directory `/home/fabio/misc/src/wmi-10/src'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -Os -g -O2 -I/usr/include/freetype2 -c -o inputbar.o inputbar.cpp
> inputbar.cpp: In constructor 'InputBar::InputBar(Monitor*, Rectangle*)':
> inputbar.cpp:34: error: no match for 'operator=' in '((InputBar*)this)->InputBar::entryEnd_ = 0'
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/stl_tree.h:222: note: candidates are: std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >& std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator=(const std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)
> inputbar.cpp: In member function 'void InputBar::queryText(std::string)':
> inputbar.cpp:236: error: no match for 'operator=' in '((InputBar*)this)->InputBar::entryEnd_ = 0'
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/stl_tree.h:222: note: candidates are: std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >& std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator=(const std::_Rb_tree_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)
> make[2]: *** [inputbar.o] Error 1
> make[2]: Leaving directory `/home/fabio/misc/src/wmi-10/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fabio/misc/src/wmi-10'
> make: *** [all] Error 2
>
With attached patch it compiles fine (gcc 4.3).
-- Sergey
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 18:28:03 UTC