Open JosefSommerauer opened 4 months ago
docker build -t example-crud --no-cache . fails with following error message:
docker build -t example-crud --no-cache .
In file included from /service/src/ErrorHandler.cpp:2: /service/src/ErrorHandler.hpp:22:3: error: 'std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> ErrorHandler::handleError(const Status&, const oatpp::String&, const oatpp::web::server::handler::ErrorHandler::Headers&)' marked 'override', but does not override 22 | handleError(const Status& status, const oatpp::String& message, const Headers& headers) override; | ^~~~~~~~~~~ make[2]: *** [CMakeFiles/crud-lib.dir/build.make:90: CMakeFiles/crud-lib.dir/src/ErrorHandler.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/crud-lib.dir/all] Error 2 make: *** [Makefile:101: all] Error 2 The command '/bin/sh -c make' returned a non-zero code: 2
docker build -t example-crud --no-cache .
fails with following error message: