Zitat:
g++ ` pkg-config gtk+-2.0 --cflags` -o accounts.o -c accounts.cpp
accounts.cpp:3: error: cannot declare member function `static int accounts::realinsRep(void*, int, char**, char**)' to have static linkage
accounts.cpp: In static member function `static int accounts::realinsRep(void*, int, char**, char**)':
accounts.cpp:4: error: cannot call member function `int accounts::insRep(void*, int, char**, char**)' without object
make: *** [accounts.o] Error 1
Wie soll das jetzt bitte funktionieren? static kann kein this-> verwenden, aber es will nichtmal static sein.