Package: nepenthes
Version: 0.1.6-1
Severity: important
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.
> Automatic build of nepenthes_0.1.6-1 on bigsur by sbuild/mips 1.86
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I ../..
> -Wall -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g
> -O2 -MT DownloadManager.o -MD -MP -MF ".deps/DownloadManager.Tpo" -c -o
> DownloadManager.o DownloadManager.cpp; \
> then mv -f ".deps/DownloadManager.Tpo" ".deps/DownloadManager.Po"; else
> rm -f ".deps/DownloadManager.Tpo"; exit 1; fi
> ../include/DownloadHandler.hpp:67: error: extra qualification
> 'nepenthes::DownloadHandler::' on member 'getDownloadHandlerDescription'
> make[4]: *** [DownloadManager.o] Error 1
Okay, this one is easy to fix:
--- ./nepenthes-core/include/DownloadHandler.hpp~ 2006-03-11
05:36:40.000000000 +0000
+++ ./nepenthes-core/include/DownloadHandler.hpp 2006-03-11
05:36:45.000000000 +0000
@@ -64,7 +64,7 @@
return m_DownloadHandlerName;
}
- virtual string DownloadHandler::getDownloadHandlerDescription()
+ virtual string getDownloadHandlerDescription()
{
return m_DownloadHandlerDescription;
}
--- ./nepenthes-core/include/UploadHandler.hpp~ 2006-03-11 05:37:57.000000000
+0000
+++ ./nepenthes-core/include/UploadHandler.hpp 2006-03-11 05:38:01.000000000
+0000
@@ -57,7 +57,7 @@
return m_UploadHandlerName;
}
- virtual string UploadHandler::getUploadHandlerDescription()
+ virtual string getUploadHandlerDescription()
{
return m_UploadHandlerDescription;
}
But then we get a few other warnings (treated as errors due to
-Werror) that I don't know how to fix. Please investigate. The
errors are like these and occur in several different files; only the
first one is shown here:
i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I../../nepenthes-core/include -I../../nepenthes-core/src -pipe -D _GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -Wall -Werror -g -O2
-MT download-curl.lo -MD -MP -MF .deps/download-curl.Tpo -c download-curl.cpp
-fPIC -DPIC -o .libs/download-curl.o
cc1plus: warnings being treated as errors
download-curl.cpp: In member function 'virtual uint32_t
nepenthes::CurlDownloadHandler::handleEvent(nepenthes::Event*)':
download-curl.cpp:152: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[3]: *** [download-curl.lo] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]