build with -pedantic