https://bugs.exim.org/show_bug.cgi?id=3038
Bug ID: 3038
Summary: Conflicting types of tls_in caused by hctx typedef
Product: Exim
Version: 4.96+
Hardware: x86
OS: All
Status: NEW
Severity: bug
Priority: medium
Component: Eximon
Assignee: unallocated@???
Reporter: mt@???
CC: exim-dev@???
When linking eximon.bin, type-conflicting definitions of `tls_in` are seen by
the linker. This is caused by the resume_hctx member having different sizes,
which in turn is caused by having conflicting type declarations of `hctx`.
`em_hdr.h` declares: `typedef void * hctx;` when this is a struct in
`src/hash.h`.
The comment in `em_hdr.h` suggests that the full definition is not wanted. I
don't have a good enough understanding to see why `tls_in` needs to be defined
in `em_globals.c` in the first place, but if it is needed it will be of the
wrong size for what the actual uses expect.
Best,
Michael
--
You are receiving this mail because:
You are on the CC list for the bug.
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/