deal with -pedantic messages