On Mon, 22 Jan 2018, Thomas Faber wrote:
On 2018-01-21 23:05, Martin Storsjo wrote:
Recent clang versions warn if an include file changes the pragma pack level without restoring it before the end of the include file.
This avoids warnings for each include of pshpack*.h/poppack.h.
Do you think a #pragma clang diagnostic inside those headers would be feasible, to avoid hiding true positive instances of this warning?
That might be a good idea - I can try looking into that.
// Martin