'warning: arithmetic between different enumeration types (x and y) is deprecated How closed?

I just want to turn off the warning below. other warnings should remain open.

Clang 11

warning: arithmetic between different enumeration types (x and y) is deprecated

Makefile ?

CFLAGS = ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source