Compile error in windows 7 (sp1) Qt Creater 3.1.1(based on qt 5.2.1)

• Jun 3, 2014 - 17:40
Type
Functional
Severity
S4 - Minor
Status
closed
Project

I have the following compile warnings and errors. I am new to coding so please forbear.
Location of file ) \MuseScore\libmscore\pos.h:32: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default]
enum class TType : char { TICKS, FRAMES };
^

Location of file ) \MuseScore\libmscore\pos.h:32: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default]
enum class TType : char { TICKS, FRAMES };
^
Location of file ) \MuseScore\libmscore\pos.h:58: error: 'TType' is not a class or namespace
Pos(TempoMap*, TimeSigMap*, unsigned, TType type = TType::TICKS);
^
Location of file ) \MuseScore\libmscore\pos.h:64: error: 'TType' is not a class or namespace
unsigned time(TType t) const { return t == TType::TICKS ? tick() : frame(); }
^
Thanks for your help.


Comments