Wireshark-dev: Re: [Wireshark-dev] Failed piplines unrelated WS_DEPRECATED_X ?

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 19 Jul 2024 16:46:24 -0700
On Jul 19, 2024, at 2:06 PM, Anders Broman <a.broman58@xxxxxxxxx> wrote:

> Not sure why this pipeline fails. Can someone help?
> 
> https://gitlab.com/wireshark/wireshark/-/jobs/7386780020 
> ./tools/cppcheck/cppcheck.sh -l $NUM_COMMITS | tee cppcheck/cppcheck_report.txt [0;m
> epan/tvbuff.h:1083:1: warning: There is an unknown macro here somewhere. Configuration is required. If WS_DEPRECATED_X is a macro then please configure it. [unknownMacro]

Given that the compile succeeds, presumably include/ws_attributes.h always gets indirectly included before epan/tvbuff.h, so I'm not sure what cppcheck's problem is, but I've changed epan/tvbuff.h explicitly include it (and ws_symbol_export.h) in !16504.