diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-06-27 07:26:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-28 20:18:02 +0900 |
commit | d60ec98e8e03076563623c550e81d22571d91e15 (patch) | |
tree | 4ddaecbf02892d80704a6b42435926cc0d9a864d /Documentation | |
parent | 9e1d83ca562bcd33ae887a42df4fc5edf323f007 (diff) | |
download | subsurface-d60ec98e8e03076563623c550e81d22571d91e15.tar.gz |
Cleanup: remove includes from extern "C" block
In "core/save-html.h", the "core/dive.h" header was included in the
extern "C" block. This is invalid, because "core/dive.h" included
from C++ code contains Qt macros that expand to C++ templates. These
in turn must not have extern "C" linkage, since a plain C-linker
cannot handle such things.
The only reason this worked is that in all cases "core/save-html.h"
was included after "core/dive.h". The include of the latter in the
former had therefore not effect.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions