Re: MISRA and -Wextra-semi

2024-04-29 Thread Jan Beulich
On 26.04.2024 13:33, Andrew Cooper wrote: > Hi, > > Based on a call a long while back, I experimented with -Wextra-semi.  > This is what lead to 8e36c668ca107 "xen: Drop superfluous semi-colons". > > However, there are a number of problems with getting this working > fully.  First, we need

Re: MISRA and -Wextra-semi

2024-04-26 Thread Stefano Stabellini
On Fri, 26 Apr 2024, Andrew Cooper wrote: > So, while -Wextra-semi is definitely useful to find some hidden > problems, it seems like using it fully might be very complicated.  How > much do we care? I'll let Roberto confirm, but I wouldn't think -Wextra-semi is high priority

MISRA and -Wextra-semi

2024-04-26 Thread Andrew Cooper
Hi, Based on a call a long while back, I experimented with -Wextra-semi.  This is what lead to 8e36c668ca107 "xen: Drop superfluous semi-colons". However, there are a number of problems with getting this working fully.  First, we need workarounds like this: diff --git a/xen/include/xen/config.h