Reimplementation of Pijul in C, for education, fun and absolutely no profit

#3 Decide on which C version to target - 89, 99, or 11

Closed on July 6, 2023
laumann on May 13, 2023

Currently, C99 is required, but there are a couple of anonymous struct definitions that trigger warnings:

In file included from ../change.c:16:
../atom.h:47:10: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
   47 |         };
      |          ^
In file included from ../change.c:17:
../hunk.h:75:10: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
   75 |         };
      |          ^
../change.c: In function ‘print_atom’:

Changing to C11 would make this warning go away, but do we want to do that?

laumann closed this discussion on July 6, 2023