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

Unable to build with Conan 2 and C++17 #171

Open
datalogics-robl opened this issue May 3, 2024 · 0 comments
Open

Unable to build with Conan 2 and C++17 #171

datalogics-robl opened this issue May 3, 2024 · 0 comments

Comments

@datalogics-robl
Copy link

I'm encountering a problem building innoextract with Conan 2 using the C++17 profile. I get several compile errors, but the first is telling: it's trying to use auto_ptr which is deprecated in C++17. See:

`C:\Users\robl\.conan2\p\b\innoe2f4ac5d724a25\b\src\src\util/unique_ptr.hpp(41): error C2039: 'auto_ptr': is not a member of 'std' (compiling source file C:\
Users\robl\.conan2\p\b\innoe2f4ac5d724a25\b\src\src\cli\goggalaxy.cpp) [C:\Users\robl\.conan2\p\b\innoe2f4ac5d724a25\b\build\innoextract.vcxproj]
  C:\Users\robl\.conan2\p\b\boost775e32d97d495\p\include\boost/smart_ptr/shared_ptr.hpp(1226): note: see declaration of 'std' (compiling source file C:\User
  s\robl\.conan2\p\b\innoe2f4ac5d724a25\b\src\src\cli\goggalaxy.cpp)
  C:\Users\robl\.conan2\p\b\innoe2f4ac5d724a25\b\src\src\util/unique_ptr.hpp(43): note: see reference to class template instantiation 'util::unique_ptr<T>'
  being compiled (compiling source file C:\Users\robl\.conan2\p\b\innoe2f4ac5d724a25\b\src\src\cli\goggalaxy.cpp)`

I know innoextract can use C++17, I see the flag in the CMakeLists.txt...why would that not be getting picked up?

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