Actually compiles with -Werror -pedantic