I cannot get to compile this applet:
kg++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -DG_LOG_DOMAIN=\"gpdial_applet\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -g -O2 -c applet.cpp
/usr/include/g++-2/streambuf.h: In method `struct streampos streambuf::pubseekoff(streamoff, enum _seek_dir, int = 3)':
In file included from /usr/include/g++-2/iostream.h:31,
from /usr/include/g++-2/iostream:6,
from applet_widget.h:33,
from applet.h:28,
from applet.cpp:25:
/usr/include/g++-2/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
/usr/include/g++-2/streambuf.h: In method `struct streampos streambuf::pubseekpos(struct streampos, int = 3)':
/usr/include/g++-2/streambuf.h:364: `struct streampos' used where a `__off64_t' was expected
applet.cpp: In method `void Applet::load()':
applet.cpp:71: warning: conversion from `gint' to `enum applet_widget_styles'
applet.cpp: In method `void Applet::update_applet_display()':
applet.cpp:296: no matching function for call to `ifstream::seekg (int)'
/usr/include/g++-2/iostream.h:182: candidates are: istream::seekg(streampos)
/usr/include/g++-2/iostream.h:183: istream::seekg(streamoff, _seek_dir)
applet.cpp: In method `void Applet::open_properties_win()':
applet.cpp:352: warning: ANSI C++ prohibits conversion from `(struct GnomePropertyBox *, gint, void *)' to `(...)'
make[2]: *** [applet.o] Error 1
Best regards,
Reinhard Katzmann
Problem solved a minute later:
streambuf.h with glibc2.2-Problem.
The version from debian helps here.
Reinhard