From 2d5dc473673e985affd6da4bd3f829648624c362 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Thu, 28 Feb 2013 10:15:01 +0800 Subject: [PATCH] fix build for gcc 4.4.6 --- src/pdf2htmlEX.cc | 5 ----- src/util/encoding.cc | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index f44b043..eeddce9 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -114,11 +114,6 @@ void parse_options (int argc, char **argv) .add("", ¶m.input_filename, "", "") .add("", ¶m.output_filename, "", "") - - // deprecated - .add("font-format", &deprecated_string, "", "", [] (const char*) { - cerr << "warning: --font-format is deprecated, @font-face format is inferred from --font-suffix" << endl; - }) ; try diff --git a/src/util/encoding.cc b/src/util/encoding.cc index 8febcda..a3f876c 100644 --- a/src/util/encoding.cc +++ b/src/util/encoding.cc @@ -8,6 +8,7 @@ #include #include "encoding.h" +#include "const.h" // for nullptr namespace pdf2htmlEX {