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/DCTStream.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/DCTStream.h')
-rw-r--r-- | poppler/DCTStream.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/poppler/DCTStream.h b/poppler/DCTStream.h index 00e0484c..41a4759d 100644 --- a/poppler/DCTStream.h +++ b/poppler/DCTStream.h @@ -16,15 +16,6 @@ #ifndef DCTSTREAM_H #define DCTSTREAM_H -#ifdef USE_GCC_PRAGMAS -#pragma interface -#endif - - -#ifdef USE_GCC_PRAGMAS -#pragma implementation -#endif - #include "poppler-config.h" #include <stdio.h> #include <stdlib.h> |