From: Oswald Buddenhagen Date: Sun, 10 Sep 2023 10:18:30 GMT Subject: Re: [PATCH 2/2] parse-options: use and require int pointer for OPT_CMDMODE Message-ID: In-Reply-To: On Sat, Sep 09, 2023 at 11:14:20PM +0200, René Scharfe wrote: >Convert the offending OPT_CMDMODE users and use the typed value_int >point in the macro's definition to enforce that type for future ones. > that defeats -Wswitch[-enum], though. the pedantically correct solution would be using setter callbacks. regards