Package: mobilemesh
Version: 1.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 mobilemesh_1.0-6 on bigsur by sbuild/mips 1.80
...
> g++ -g -Wall -I. -Iinclude-fixes -D_GNU_SOURCE -c -o MmMain.o MmMain.C
> In file included from
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/fstream.h:31,
> from ./MmRouter.h:55,
> from MmMain.C:26:
> /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.
> In file included from ./UtReport.h:29,
> from ./UtInterface.h:44,
> from ./MmMsg.h:29,
> from ./MmRouter.h:75,
> from MmMain.C:26:
> ./UtString.h:29:8: warning: extra tokens at end of #endif directive
> ./UtString.h:109: error: extra qualification 'String::' on member
> 'MakeAndPack'
> ./UtString.h:110: error: extra qualification 'String::' on member 'Pack'
> ./UtString.h:111: error: extra qualification 'String::' on member 'Unpack'
> ./UtDebug.h:42: error: extra qualification 'Debug::' on member 'Dump'
> ./MmRouter.h: In member function 'void Router::HandleLsp(Lsp&, const
> InetAddr&, Interface*)':
> ./MmRouter.h:1465: warning: comparison is always true due to limited range of
> data type
> make[1]: *** [MmMain.o] Error 1
--- UtDebug.h~ 2006-03-09 07:48:05.000000000 +0000
+++ UtDebug.h 2006-03-09 07:48:22.000000000 +0000
@@ -39,7 +39,7 @@
static bool Update();
static void Clear();
static ostream &DumpAll(ostream &os);
- static String Debug::Dump();
+ static String Dump();
// Depricated. Use clear!
static void PurgeAllMemory() { Clear(); }
--- UtString.h~ 2006-03-09 07:47:59.000000000 +0000
+++ UtString.h 2006-03-09 07:48:15.000000000 +0000
@@ -106,9 +106,9 @@
// ----------------------------------------------------------------
// Local extensions below here... (not standard "string" class stuff)
- static String String::MakeAndPack(long data, size_t len, size_t offset =
npos);
- void String::Pack(long data, size_t len, size_t offset = npos);
- long String::Unpack(size_t len, size_t offset = 0, bool extend = false);
+ static String MakeAndPack(long data, size_t len, size_t offset = npos);
+ void Pack(long data, size_t len, size_t offset = npos);
+ long Unpack(size_t len, size_t offset = 0, bool extend = false);
bool Getline(istream &is);
bool Getline(istream &is, char term);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]