You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash-3.2$ cmake -B build -G Ninja
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/clausklein/Workspace/cpp/boost-ext/di/build
bash-3.2$ cd build
bash-3.2$ ninja
[200/314] Building CXX object example/CMakeFiles/example.bindings.dir/bindings.cpp.o
FAILED: example/CMakeFiles/example.bindings.dir/bindings.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -I/Users/clausklein/Workspace/cpp/boost-ext/di/example/.. -I/Users/clausklein/Workspace/cpp/boost-ext/di/include -I/Users/clausklein/Workspace/cpp/boost-ext/di/extension/include -std=c++1y -fno-exceptions -pedantic -pedantic-errors -Wall -Wextra -Werror -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -MD -MT example/CMakeFiles/example.bindings.dir/bindings.cpp.o -MF example/CMakeFiles/example.bindings.dir/bindings.cpp.o.d -o example/CMakeFiles/example.bindings.dir/bindings.cpp.o -c /Users/clausklein/Workspace/cpp/boost-ext/di/example/bindings.cpp
/Users/clausklein/Workspace/cpp/boost-ext/di/example/bindings.cpp:58:8: error: definition of implicit copy constructor for'app' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
app& operator=(const app&) = delete;
^
/Users/clausklein/Workspace/cpp/boost-ext/di/example/bindings.cpp:88:22: note: in implicit copy constructor for'app' first required here
auto service_app = injector.create<app>();
^
1 error generated.
[213/314] Building CXX object test/CMakeFiles/test.ft_di_bind.dir/ft/di_bind.cpp.o
ninja: build stopped: subcommand failed.
bash-3.2$ git status
On branch cpp14
Your branch is up to date with 'origin/cpp14'.
bash-3.2$
Specifications
Version: HEAD -> cpp14
Platform: OSX
Subsystem:
The text was updated successfully, but these errors were encountered:
Expected Behavior
No errors and no warnings
Actual Behavior
Specifications
The text was updated successfully, but these errors were encountered: