[sword-devel] Can't compile VCL

Joachim Ansorg sword-devel@crosswire.org
Sat, 18 Mar 2000 03:01:39 +0000


Hi!

I can't compile the VCL of SWORD:


gcc -I../../../include/ -D_GNU_SOURCE -DNDEBUG -I. `gtk-config --cflags` -static -pipe -Wall -Wno-format  -fomit-frame-pointer -s -O3 -m486 -c -o TTreeNode.o TTreeNode.cpp
TTreeNode.cpp: In method `TTreeNode::TTreeNode(TTreeNodes *)':
TTreeNode.cpp:9: taking the address of a non-static member function
TTreeNode.cpp:9:   to form a pointer to member function, say `&TTreeNode::getText'
TTreeNode.cpp:9: taking the address of a non-static member function
TTreeNode.cpp:9:   to form a pointer to member function, say `&TTreeNode::SetText'
TTreeNode.cpp:10: taking the address of a non-static member function
TTreeNode.cpp:10:   to form a pointer to member function, say `&TTreeNode::getStateIndex'
TTreeNode.cpp:10: taking the address of a non-static member function
TTreeNode.cpp:10:   to form a pointer to member function, say `&TTreeNode::SetStateIndex'
TTreeNode.cpp:11: taking the address of a non-static member function
TTreeNode.cpp:11:   to form a pointer to member function, say `&TTreeNode::getImageIndex'
TTreeNode.cpp:11: taking the address of a non-static member function
TTreeNode.cpp:11:   to form a pointer to member function, say `&TTreeNode::SetImageIndex'
TTreeNode.cpp:12: taking the address of a non-static member function
TTreeNode.cpp:12:   to form a pointer to member function, say `&TTreeNode::getData'
TTreeNode.cpp:12: taking the address of a non-static member function
TTreeNode.cpp:12:   to form a pointer to member function, say `&TTreeNode::SetData'
TTreeNode.cpp:13: taking the address of a non-static member function
TTreeNode.cpp:13:   to form a pointer to member function, say `&TTreeNode::GetParent'
TTreeNode.cpp: In method `TTreeNode::TTreeNode(const TTreeNode &)':
TTreeNode.cpp:21: taking the address of a non-static member function
TTreeNode.cpp:21:   to form a pointer to member function, say `&TTreeNode::getText'
TTreeNode.cpp:21: taking the address of a non-static member function
TTreeNode.cpp:21:   to form a pointer to member function, say `&TTreeNode::SetText'
TTreeNode.cpp:22: taking the address of a non-static member function
TTreeNode.cpp:22:   to form a pointer to member function, say `&TTreeNode::getStateIndex'
TTreeNode.cpp:22: taking the address of a non-static member function
TTreeNode.cpp:22:   to form a pointer to member function, say `&TTreeNode::SetStateIndex'
TTreeNode.cpp:23: taking the address of a non-static member function
TTreeNode.cpp:23:   to form a pointer to member function, say `&TTreeNode::getImageIndex'
TTreeNode.cpp:23: taking the address of a non-static member function
TTreeNode.cpp:23:   to form a pointer to member function, say `&TTreeNode::SetImageIndex'
TTreeNode.cpp:24: taking the address of a non-static member function
TTreeNode.cpp:24:   to form a pointer to member function, say `&TTreeNode::getData'
TTreeNode.cpp:24: taking the address of a non-static member function
TTreeNode.cpp:24:   to form a pointer to member function, say `&TTreeNode::SetData'
TTreeNode.cpp:25: taking the address of a non-static member function
TTreeNode.cpp:25:   to form a pointer to member function, say `&TTreeNode::GetParent'
property: In method `class property<TTreeNode,basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > > & property<TTreeNode,basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > >::operator =(const property<TTreeNode,basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > > &)':
TTreeNode.cpp:30:   instantiated from here
property:27: passing `const property<TTreeNode,basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > >' as `this' argument of `property<TTreeNode,basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > >::operator string()' discards qualifiers
TTreeNode.cpp: In method `TTreeNode::TTreeNode(TTreeNodes *, GtkTree *, GtkTreeItem *, basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, void * = 0)':
TTreeNode.cpp:36: taking the address of a non-static member function
TTreeNode.cpp:36:   to form a pointer to member function, say `&TTreeNode::getText'
TTreeNode.cpp:36: taking the address of a non-static member function
TTreeNode.cpp:36:   to form a pointer to member function, say `&TTreeNode::SetText'
TTreeNode.cpp:37: taking the address of a non-static member function
TTreeNode.cpp:37:   to form a pointer to member function, say `&TTreeNode::getStateIndex'
TTreeNode.cpp:37: taking the address of a non-static member function
TTreeNode.cpp:37:   to form a pointer to member function, say `&TTreeNode::SetStateIndex'
TTreeNode.cpp:38: taking the address of a non-static member function
TTreeNode.cpp:38:   to form a pointer to member function, say `&TTreeNode::getImageIndex'
TTreeNode.cpp:38: taking the address of a non-static member function
TTreeNode.cpp:38:   to form a pointer to member function, say `&TTreeNode::SetImageIndex'
TTreeNode.cpp:39: taking the address of a non-static member function
TTreeNode.cpp:39:   to form a pointer to member function, say `&TTreeNode::getData'
TTreeNode.cpp:39: taking the address of a non-static member function
TTreeNode.cpp:39:   to form a pointer to member function, say `&TTreeNode::SetData'
TTreeNode.cpp:40: taking the address of a non-static member function
TTreeNode.cpp:40:   to form a pointer to member function, say `&TTreeNode::GetParent'
/usr/include/g++/stl_map.h: At top level:
TTreeNodes.h:8: warning: `char * default_xpm[4]' defined but not used
make[1]: *** [TTreeNode.o] Error 1
make[1]: Leaving directory `/cvs/sword/sword/apps/X11/VCL'
make: *** [apps/X11/VCL/targets] Error 2

Thanks,

-- Joachim
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de