I am getting a lot of these warnings from 3rd party code that I cannot modify. Is there a way to disable this warning or at least disable it for certain areas (like #pragma
Class C { int a; int b; C():b(1),a(2){} //warning, should be C():a(2),b(1) }
the order is important because if a is initialized before b , and a is depend on b. undefined behavior will appear.