Package: xdb
Version: 1.2.0-6
Severity: important
Tags: patch

Your package fails 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 serious.

A patch is below.


> Automatic build of xdb_1.2.0-6 on bigsur by sbuild/mips 1.86
...
> /bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. 
> -I/build/tbm/xdb-1.2.0    -O2 -Wall -c dbf.cpp
> In file included from 
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/iostream.h:31,
>                  from /build/tbm/xdb-1.2.0/xdb/dbf.h:41,
>                  from /build/tbm/xdb-1.2.0/xdb/xbase.h:143,
>                  from dbf.cpp:34:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2:
>  warning: #warning This file includes at least one deprecated or antiquated 
> header. Please consider using one of the 32 headers found in section 17.4.1.2 
> of the C++ standard. Examples include substituting the <X> header for the 
> <X.h> header for C++ includes, or <iostream> instead of the deprecated header 
> <iostream.h>. To disable this warning use -Wno-deprecated.
> /build/tbm/xdb-1.2.0/xdb/ndx.h:177: error: extra qualification 'xbNdx::' on 
> member 'BSearchNode'
> make[2]: *** [dbf.lo] Error 1


--- ./xdb/ndx.h~        2006-03-11 05:51:03.000000000 +0000
+++ ./xdb/ndx.h 2006-03-11 05:51:10.000000000 +0000
@@ -172,7 +172,7 @@
    xbShort    GetLeafNode( xbLong, xbShort );
    xbNdxNodeLink * GetNodeMemory( void );
    void       ReleaseNodeMemory( xbNdxNodeLink * );
-   xbShort    xbNdx::BSearchNode(const char *key, xbShort klen, 
+   xbShort    BSearchNode(const char *key, xbShort klen, 
                                  const xbNdxNodeLink *node, 
                                  xbShort *comp);
    xbLong     GetLeafFromInteriorNode( const char *Tkey, xbShort Klen );

-- 
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