Closed Zorgatone closed 8 years ago
Source >here<.
I defined my own *_KEY
s because I couldn't use the switch/case
Try the latest master where I changed it to enum, which works and is nicer here than either const int or #define.
@tapio: wow that was super-fast! :heart: u
It should be:
That's because if I try to use the value in a
switch
case
, theC
compiler cannot evaluate it on compile-time. I must use a lot ofif/else-if/............/else
and that sucks.Here is the
GCC
error: