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

4.0.8 build failure on conda-forge / OSX: ISO C++17 does not allow 'register' at compat/crypt.h:62 #838

Open
akrherz opened this issue Jan 9, 2025 · 0 comments

Comments

@akrherz
Copy link

akrherz commented Jan 9, 2025

I am getting the following build failure with clang 18.1.8 for 4.0.8 on conda-forge for OSX

[ 94%] Building CXX object test/CMakeFiles/gtest_minizip.dir/test_compat.cc.o
In file included from /Users/runner/miniforge3/conda-bld/minizip_1736374402193/work/test/test_compat.cc:17:
/Users/runner/miniforge3/conda-bld/minizip_1736374402193/work/compat/crypt.h:62:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   62 |         register int keyshift = (int)((*(pkeys + 1)) >> 24);
      |         ^~~~~~~~
1 error generated.
make[2]: *** [test/CMakeFiles/gtest_minizip.dir/build.make:163: test/CMakeFiles/gtest_minizip.dir/test_compat.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:276: test/CMakeFiles/gtest_minizip.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Thank you.

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

1 participant