thorwe / CrossTalk

A Teamspeak 3 plugin that enhances the general audio experience and provides advanced features for commanders.
https://www.myteamspeak.com/addons/9ddfa0b2-25c2-4302-8a43-07f8819af9a9
MIT License
47 stars 12 forks source link

Can't compile on Ubuntu 15.10 #33

Open Bluscream opened 8 years ago

Bluscream commented 8 years ago

QT creator

Ubuntu Software Center

thorwe commented 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.

Bluscream commented 8 years ago

Thanks for the infos :+1:

It would be pretty nice if you could create a step-for-step tutorial how to recompile crosstalk in your wiki.