Comparing the first element of an enum and a pointer

I just had a very stupid bug in a lighttpd2 feature I was working on, it looked like this: ```c linenums=1 typedef enum { S_DEAD, S_START / &hellip; / } con_state; typedef struct { con_state state; / &hellip; / } con; void foo(con c) { if (S_DEAD == c) { / &hellip; */ } } I obviously wanted to check `c->state`, not `c` - and I didn't even get a warning from my compiler (neither gcc nor clang).…