set warning level and cpp11