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
configure fails with non-C++11 compatible compiler #44
Comments
Oh right. We should add an option to skip the tests... I'll work on a patch. |
Thanks for pointing this out. You can also just remove that |
Patch works fine thanks. |
same error came while configuring the c-ares_1.11.0 with solaris_12.3 cc compiler. Even i tried removing the AC_CONFIG_SUBDIRS([test]) line in configure.ac file but the same issue again repeating. |
You need to run autoconf to generate a new configure script that incorporates the changes made in configure.ac. |
hi |
yum install gcc-c++ |
Regular configure tries to run the configure script in the test directory by default, and that requires C++11. Hence c-ares build is no longer compatible with a plain C89 compiler. Is there an easy way of turning this off short of hacking out the AC_CONFIG_SUBDIRS line for the test directory?
The text was updated successfully, but these errors were encountered: