-
Notifications
You must be signed in to change notification settings - Fork 380
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
ace_auto_ptr and std::auto_ptr both exist with C++17 and clang 10 on Manjaro Linux #1171
Comments
With C++17 there shouldn't be a |
You should use std::unique_ptr in your application code with C++11 and newer |
@jwillemsen I'd be happy to use
I know that but its come with ACE include in project :/ i guess its because ace builds without C++17, but project build with C+17 |
For the API of |
Ok, on https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017 I found that gcc didn't remove |
I have created PR #1172 which should solve the ambiguity. I would recommend you to update your application code to not use |
See #2109, with C++17 ACE doesn't provide auto_ptr and its related macros anymore |
Version
ACE 6.5.10
Host machine and operating system
Target machine and operating system (if different from host)
same
Compiler name and version (including patch level)
clang --version
clang version 10.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
The $ACE_ROOT/ace/config.h file
/usr/include/ace/config.h
AREA/CLASS/EXAMPLE AFFECTED:
ACE_Auto_Ptr
The problem effects:
my application
Synopsis
my application build fails
Description
when i build my app i get this:
Repeat by
The text was updated successfully, but these errors were encountered: