# XXX - add /Qspectre if that is really worth doing.
#
check_and_add_compiler_option(-wd5045)
+ #
+ # We do *not* care whether a structure had padding added at
+ # the end because of __declspec(align) - *we* don't use
+ # __declspec(align), because the only structures whose layout
+ # we precisely specify are those that get overlayed on packet
+ # data, and in those every element is an array of octets so
+ # that we have full control over the size and aligmnet, and,
+ # apparently, jmp_buf has such a declaration on x86, meaning
+ # that everything that includes netdissect.h, i.e. almost every
+ # file in tcpdump, gets a warning.
+ #
+ check_and_add_compiler_option(-wd4324)
else()
#
# Other compilers, including MSVC with a Clang front end and