Package: libcommoncpp2
Version: 1.3.24-1
Severity: important
Tags: patch

Your package makes other package fail to build with G++ 4.1.  I'm
filing this bug as important for now, but when 4.1 will be the default
compiler in unstable (probably in a few weeks) I'll upgrade this to
grave.

A patch is below.  You might have to do the same for other friend
definitions but I'm not sure whether they're actually used by anyone.

(I know you just uploaded a new version to incoming but the problem is
there too.)


> Automatic build of bayonne_1.2.15-2 on bigsur by sbuild/mips 1.89
...
> mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DVERPATH=\"1.2.15\"     -g 
> -O2 -I/usr/include/cc++2 -D_GNU_SOURCE -DXML_SCRIPTS -c server.cpp
> server.cpp: In function 'void ost::tgi(int)':
> server.cpp:307: error: 'getInterp' was not declared in this scope
> server.cpp: In function 'void ost::final(int)':
> server.cpp:625: error: 'stopServers' was not declared in this scope
> server.cpp: In function 'void ost::initial(int, char**, int)':
> server.cpp:943: error: 'endKeydata' was not declared in this scope
> server.cpp:1191: error: 'getGroup' was not declared in this scope
> server.cpp:1266: error: 'startServers' was not declared in this scope
> make[2]: *** [server.o] Error 1

Most of these errors are in the package itself, but the 'endKeydata'
error is because of the header.

--- include/cc++/misc.h~        2006-03-12 22:41:30.000000000 +0000
+++ include/cc++/misc.h 2006-03-12 22:42:21.000000000 +0000
@@ -343,6 +343,9 @@
  * @author David Sugar <[EMAIL PROTECTED]>
  * @short load text configuration files into keyword pairs.
  */
+
+void endKeydata(void);
+
 class __EXPORT Keydata : protected MemPager
 {
 public:


-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to