Open Bluscream opened 8 years ago
That's a compiler [version] specific complaint. You can get rid of the error by removing the ChannelProperties:: prefix in the line mentioned in the error. Allowing the strongly-typed enum syntax with traditional enums usually is supported by compilers when they implement strongly-typed enums. That should be with C++11 (or maybe C++14?). Note that future commits will more often use modern c++ features, although Qt in it's current version is a bit of a hindrance on that. If or when I start to test these, that will probably be clang 3.6+, as it has grown to also be the default compiler on OS X and has become an option even in VS2015, so long-term it might be a good choice to use that.
*addendum the latest three commits revert the usage of prefixing enums, there's a bit of other C++11 stuff though. If it starts complaining about "auto" or the initialization of class members in the class the compiler version is too old or needs to be flagged for c++11.