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