summaryrefslogtreecommitdiff
path: root/poppler/Page.cc
diff options
context:
space:
mode:
authorAdam Reichold <adam.reichold@t-online.de>2018-10-10 07:44:58 +0200
committerAdam Reichold <adam.reichold@t-online.de>2018-10-10 07:46:44 +0200
commit7f20ace4579f69fc3bd0f975fadec37134c3782c (patch)
tree28c4e2c3ee913d7aa8ccb151a50c17ef2f658530 /poppler/Page.cc
parente1501603b6f043a40586ff0babf34980a6f03b15 (diff)
Remove usage of pragmas interface and implementation
GCC recommends not using them for a long time and its documentation says: > These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support > and the “key method” heuristic mentioned in Vague Linkage. > Using them can actually cause your program to grow due to > unnecessary out-of-line copies of inline functions. Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were guarded by just __GNUC__ which upsets Clang.
Diffstat (limited to 'poppler/Page.cc')
-rw-r--r--poppler/Page.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/poppler/Page.cc b/poppler/Page.cc
index 3fcbe6ef..acd3820d 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -37,10 +37,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include <limits.h>
#include "GlobalParams.h"