Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile on Ubuntu 15.10 #33

Open
Bluscream opened this issue Mar 12, 2016 · 2 comments
Open

Can't compile on Ubuntu 15.10 #33

Bluscream opened this issue Mar 12, 2016 · 2 comments

Comments

@Bluscream
Copy link

QT creator

Ubuntu Software Center

@thorwe
Copy link
Owner

thorwe commented Mar 12, 2016

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
Copy link
Author

Thanks for the infos 👍

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants