[Xfc-dev] 64bit compile problems / Xfc future

Andreas Radke a.radke at arcor.de
Wed Jun 14 19:53:26 CEST 2006


http://foo-projects.org/pipermail/xfc-dev/2006-April/000137.html


this small patch fixes the next compile problem.


--- examples/selection/selection.cc	2005-04-27
08:45:13.000000000 +0200 +++ examples/selection/selection.cc.new
2006-06-13 19:48:11.000000000 +0200 @@ -47,7 +47,7 @@
 	cout << " * type() = " << selection_data.get_type() << endl;
 	cout << " * format() = " << selection_data.format() << endl;
 	cout.setf(ios_base::hex, ios_base::basefield);
-	cout << " * data() = 0x" << reinterpret_cast<unsigned
int>(selection_data.data()) << endl;
+	cout << " * data() = 0x" << reinterpret_cast<unsigned
long>(selection_data.data()) << endl; cout.setf(ios_base::dec,
long>ios_base::basefield);
 	cout << " * length() = " << selection_data.length() << endl <<
endl;


Now I end like this:

make[3]: Entering directory
`/var/abs/local/xfc/src/xfc-4.3.1/tests/core/iochannel' if ccache g++
-DHAVE_CONFIG_H -I. -I. -I../../../libXFCcore -I../../../libXFCui
-I../../../libXFCglade -I../../../libXFCcore/xfc/glib -g -O2 -Wall
-ansi --pedantic-errors -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include   -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -g -O2 -Wall -ansi --pedantic-errors -MT
iochannel.o -MD -MP -MF ".deps/iochannel.Tpo" -c -o iochannel.o
iochannel.cc; \ then mv -f ".deps/iochannel.Tpo" ".deps/iochannel.Po";
else rm -f ".deps/iochannel.Tpo"; exit 1; fi distcc[8730] ERROR:
compile /home/andyrtr/.ccache/iochannel.tmp.workstation64.8726.ii on
localhost failed iochannel.cc: In function 'int main(int, char**)':
iochannel.cc:79: error: no matching function for call to
'Xfc::G::IOChannel::write(Xfc::String&, unsigned int*,
Xfc::G::Error*)' ../../../libXFCcore/xfc/glib/iochannel.hh:402: note:
candidates are: Xfc::G::IOStatus Xfc::G::IOChannel::write(const char*,
size_t, size_t*,
Xfc::G::Error*) ../../../libXFCcore/xfc/glib/iochannel.hh:419:
note:                 Xfc::G::IOStatus Xfc::G::IOChannel::write(const
Xfc::String&, size_t*,
Xfc::G::Error*) ../../../libXFCcore/xfc/glib/iochannel.hh:431:
note:                 Xfc::G::IOStatus
Xfc::G::IOChannel::write(Xfc::G::Unichar, Xfc::G::Error*) distcc[8726]
ERROR: compile iochannel.cc on localhost failed make[3]: ***
[iochannel.o] Error 1 make[3]: Leaving directory
`/var/abs/local/xfc/src/xfc-4.3.1/tests/core/iochannel' make[2]: ***
[all-recursive] Error 1 make[2]: Leaving directory
`/var/abs/local/xfc/src/xfc-4.3.1/tests/core' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/var/abs/local/xfc/src/xfc-4.3.1/tests' make: *** [all-recursive]
Error 1 ==> ERROR: Build Failed.  Aborting...


Any idea?


And I want to know if it still makes sense to start using Xfc. I'm not
sure if the developement is still activ.

Andreas Radke
(using and maintaining www.Arch64.org)



More information about the Xfc-dev mailing list