Turn off pedantic for C++.