step 1: get rid of the 32-on-64bit compile nonsense
changes to make compat.c and baselayer.c compile clean
pragmas done
add some compiler-assisted printf format checking to printf-like functions
cache1d done

Also, moved the logic for aligning the cache pointer into initcache()