So I upgraded my Code::Blocks IDE and made sure to set the compiler to the C++11 standard. However, now it won't give me warnings when I accidentally try to initialize class variables. I looked at the settings but can only find the C++11 flag checked...
For example:
1 2 3 4 5 6 7
//Header file
class MyClass{
protected:
double num = 76.55; //Should result in error!!
public:
//Functions etc.
};