Package: mypasswordsafe Version: 0.0.20050615-2 Usertags: ftbfs-gcc-4.3 Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080 You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. > Automatic build of mypasswordsafe_0.0.20050615-2 on coconut0 by sbuild/ia64 > 0.49 ... > g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. > -Iuuid-1.0.0 -I/usr/include/qt3 -I.ui/ -Isrc -I.moc/ -o .obj/safeserializer.o > src/safeserializer.cpp > src/safeserializer.cpp: In static member function 'static QString > SafeSerializer::getTypes()': > src/safeserializer.cpp:105: error: 'for_each' was not declared in this scope > src/safeserializer.cpp: In static member function 'static QString > SafeSerializer::getExtensions()': > src/safeserializer.cpp:128: error: 'for_each' was not declared in this scope --- src/pwsafe/Util.cpp~ 2007-04-02 19:06:47.000000000 +0000 +++ src/pwsafe/Util.cpp 2007-04-02 19:06:57.000000000 +0000 @@ -6,6 +6,8 @@ //#include "PwsPlatform.h" #include <stdio.h> +#include <cstdlib> +#include <climits> #include <iostream> using std::cout; using std::endl; --- src/safeserializer.cpp~ 2007-04-02 19:05:40.000000000 +0000 +++ src/safeserializer.cpp 2007-04-02 19:05:48.000000000 +0000 @@ -17,6 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <qstring.h> +#include <algorithm> #include "safe.hpp" #include "safeserializer.hpp" #include "plaintextlizer.hpp" --- src/encryptedstring.cpp~ 2007-04-02 19:06:34.000000000 +0000 +++ src/encryptedstring.cpp 2007-04-02 19:06:40.000000000 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <cstdlib> #include <time.h> #include <iostream> #include "pwsafe/Util.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]