I needed to pass in "-std=c++0x" for g++ , in Qt Creator. I placed a variable in Build Environment:
But i still receive the warning:
warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
I needed to pass in "-std=c++0x" for g++ , in Qt Creator. I placed a variable in Build Environment:
But i still receive the warning:
warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x