2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

gcc 4.4 fixes

git-svn-id: svn+q:///qpdf/trunk@642 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2008-11-23 19:11:24 +00:00
parent 1f67d95e25
commit 07dc592182
4 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2008-11-23 Jay Berkenbilt <ejb@ql.org> 2008-11-23 Jay Berkenbilt <ejb@ql.org>
* Include stdio.h in a few files for proper compilation with (yet
to be released) gcc 4.4
* updated embedded qtest to version 1.3 * updated embedded qtest to version 1.3
* libqpdf/QPDF_String.cc (QPDF_String::getUTF8Val): handle * libqpdf/QPDF_String.cc (QPDF_String::getUTF8Val): handle

View File

@ -2,6 +2,7 @@
#include <qpdf/QPDF_Name.hh> #include <qpdf/QPDF_Name.hh>
#include <string.h> #include <string.h>
#include <stdio.h>
QPDF_Name::QPDF_Name(std::string const& name) : QPDF_Name::QPDF_Name(std::string const& name) :
name(name) name(name)

View File

@ -3,6 +3,7 @@
#include <qpdf/BitWriter.hh> #include <qpdf/BitWriter.hh>
#include <qpdf/Pl_Buffer.hh> #include <qpdf/Pl_Buffer.hh>
#include <iostream> #include <iostream>
#include <stdio.h>
// See comments in bits.cc // See comments in bits.cc
#define BITS_TESTING 1 #define BITS_TESTING 1

View File

@ -3,6 +3,7 @@
#include <qpdf/Pl_MD5.hh> #include <qpdf/Pl_MD5.hh>
#include <qpdf/Pl_Discard.hh> #include <qpdf/Pl_Discard.hh>
#include <iostream> #include <iostream>
#include <stdio.h>
static void test_string(char const* str) static void test_string(char const* str)
{ {