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

2.3k views Asked by At

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 = ?

1

There are 1 answers

0
Arslan Göktürk On BEST ANSWER

add code makefile CFLAGS += -Wno-deprecated-enum-enum-conversion

and fixed

sorry very easy problem :D