diff options
author | Adam Reichold <adam.reichold@t-online.de> | 2018-10-10 07:44:58 +0200 |
---|---|---|
committer | Adam Reichold <adam.reichold@t-online.de> | 2018-10-10 07:46:44 +0200 |
commit | 7f20ace4579f69fc3bd0f975fadec37134c3782c (patch) | |
tree | 28c4e2c3ee913d7aa8ccb151a50c17ef2f658530 /poppler/TextOutputDev.h | |
parent | e1501603b6f043a40586ff0babf34980a6f03b15 (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/TextOutputDev.h')
-rw-r--r-- | poppler/TextOutputDev.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/poppler/TextOutputDev.h b/poppler/TextOutputDev.h index 1af11909..eea079ef 100644 --- a/poppler/TextOutputDev.h +++ b/poppler/TextOutputDev.h @@ -32,10 +32,6 @@ #ifndef TEXTOUTPUTDEV_H #define TEXTOUTPUTDEV_H -#ifdef USE_GCC_PRAGMAS -#pragma interface -#endif - #include "poppler-config.h" #include <stdio.h> #include "goo/gtypes.h" |