On Jul 19, 2024, at 2:06 PM, Anders Broman <a.broma...@gmail.com> 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to