Package: libofx
Severity: normal
Tags: patch
When building 'libofx' on amd64 with gcc-4.0,
I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../inc -I/usr/include/OpenSP
-DMAKEFILE_DTD_PATH=\"/usr/share/libofx/dtd/\" -g -O2 -c
ofx_container_generic.cpp -fPIC -DPIC -o .libs/ofx_container_generic.o
tree.hh:72: error: explicit qualification in declaration of `void
kp::destructor(T1*)'
make[3]: *** [ofx_container_generic.lo] Error 1
make[3]: Leaving directory `/libofx-0.7.0/lib'
With the attached patch 'libofx' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/libofx-0.7.0/lib/tree.hh ./lib/tree.hh
--- ../tmp-orig/libofx-0.7.0/lib/tree.hh 2004-04-09 08:51:45.000000000
+0200
+++ ./lib/tree.hh 2005-01-10 16:49:12.227799104 +0100
@@ -69,7 +69,7 @@
}
template <class T1>
-inline void kp::destructor(T1* p)
+inline void destructor(T1* p)
{
p->~T1();
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]