]> The Tcpdump Group git mirrors - tcpdump/commit
Define PRINTFLIKE_FUNCPTR() exactly for XL C. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Tue, 3 Aug 2021 17:23:13 +0000 (18:23 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 3 Aug 2021 17:34:36 +0000 (18:34 +0100)
commit66e1377aa133bf83ecf92679a53f7d0c54efc445
tree8007d4b721d0c3c418ae12ab9afdb102a2617f20
parent0623e614865a40639ec5c6f081079d09efdeff2c
Define PRINTFLIKE_FUNCPTR() exactly for XL C. [skip appveyor]

XL C full version consists of 4 numbers.  Introduce an additional macro
for testing the two least significant numbers.  Using the fix lists
published by IBM, tell XL C 16.1 that has the bug interpreting the
__format__ attribute of a function pointer from XL C 16.1 that has not.
Rejig the #if block to make it easier to follow.
compiler-tests.h
funcattrs.h