On 28.02.2024 12:06, Nicola Vetrini wrote: > On 2024-02-27 13:47, Jan Beulich wrote: >> On 27.02.2024 12:52, Julien Grall wrote: >>> Do you have another proposal? As Stefano said, we adopted the rule >>> 17.7. >>> So we know need a solution to address it. >> >> One possibility that was circulated while discussing was to add (void) >> casts. I'm not a huge fan of those, but between the two options that >> might be the lesser evil. We also use funny (should I say ugly) >> workarounds in a few cases where we have __must_check but still want >> to not really handle the return value in certain cases. Given there are >> example in the code base, extending use of such constructs is certainly >> also something that may want considering. > > Can you point out some of these constructs, just to get an idea of what > that might look like?
Grep for __must_check used in comments. Jan
