Commit 07dc592182cb5e8a9e10bd4bcb000112a28bc24c

Authored by Jay Berkenbilt
1 parent 1f67d95e

gcc 4.4 fixes

git-svn-id: svn+q:///qpdf/trunk@642 71b93d88-0707-0410-a8cf-f5a4172ac649
ChangeLog
1 1 2008-11-23 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * Include stdio.h in a few files for proper compilation with (yet
  4 + to be released) gcc 4.4
  5 +
3 6 * updated embedded qtest to version 1.3
4 7  
5 8 * libqpdf/QPDF_String.cc (QPDF_String::getUTF8Val): handle
... ...
libqpdf/QPDF_Name.cc
... ... @@ -2,6 +2,7 @@
2 2 #include <qpdf/QPDF_Name.hh>
3 3  
4 4 #include <string.h>
  5 +#include <stdio.h>
5 6  
6 7 QPDF_Name::QPDF_Name(std::string const& name) :
7 8 name(name)
... ...
libtests/bits.cc
... ... @@ -3,6 +3,7 @@
3 3 #include <qpdf/BitWriter.hh>
4 4 #include <qpdf/Pl_Buffer.hh>
5 5 #include <iostream>
  6 +#include <stdio.h>
6 7  
7 8 // See comments in bits.cc
8 9 #define BITS_TESTING 1
... ...
libtests/md5.cc
... ... @@ -3,6 +3,7 @@
3 3 #include <qpdf/Pl_MD5.hh>
4 4 #include <qpdf/Pl_Discard.hh>
5 5 #include <iostream>
  6 +#include <stdio.h>
6 7  
7 8 static void test_string(char const* str)
8 9 {
... ...