-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
GCC minimum version required #84
Comments
We can use |
I have no idea why stat is long unsigned int... But because it's gcc 4.9.2 it is most likely a compiler bug here. Of course with a newer GCC (5.3) I don't get any error. |
I see. What I mean is that I wouldn't even know what's the feature to be tested to catch this kind of errors. |
Damn, that's true. And the autoconf macro that checks for -std=gnu++14 tells that gcc4.9 can do C++14... |
Actually uvw requires a C++14 compiler. Problem is C++14 have a lots of features and not all compiler have all C++14 features working. I tried to build my project using uvw on a Debian Jessie where the current GCC is 4.9.2.
I have a c++14 detection macro in my autotools to detect C++14 availability from the compiler and GCC4.9.2 say it can do C++14.
But I have an error in the build:
My question here is: Is there a minimum required GCC version that we can check on, or is it worth trying to workaround compilation issue like this one above? or maybe do you know if some checks can be done to detect if compiler can handle this code or not?
The text was updated successfully, but these errors were encountered: