Hello,
I am trying to swig the following enum class.

5    enum class MY_ENUM : char
6     { white=0,
7       red,
8       black,
9       yellow
10    }
   
The swig compilation gives me the message:

example.h:5: Error: Syntax error in input(1).

Thank you in advance for any help !