Pedantic compiler options and silence warnings