Compiles on mac with -pedantic