expr icon indicating copy to clipboard operation
expr copied to clipboard

can't compile with strict C99 flags

Open chriscamacho opened this issue 3 years ago • 1 comments

There seems to be issues with anonymous unions and also with casting function pointers to void*

here are the flags I use

CFLAGS:= -Wfatal-errors -pedantic -Wall -Wextra -Werror -std=c99

While this might seem over fussy, its saved me countless hours of debugging frustration!

chriscamacho avatar Mar 09 '21 15:03 chriscamacho

It seems to be the same problem as in another expression parser: https://github.com/codeplea/tinyexpr/pull/47

RokerHRO avatar Apr 08 '24 20:04 RokerHRO