CLIon 2022.1: In template: call to '__builtin_operator_delete' selects non-usual deallocation function in

Viewed 888

why am I getting such a static analyzer error, there are no errors when compiling
on version 2021.1 there was no such error

clangd v15.0.0 flags: -Wno-unused-variable,-Wno-infinite-recursion,-Werror=implicit-function-declaration,-Wshadow,-Wno-shadow-field-in-constructor-modified,-Wno-shadow-ivar,-Wuninitialized,-Wunused-label,-Wunused-lambda-capture

code: std::make_sharedhttplib::Server();
(also applies to std::regex, nlohmann::json)

screenshots:

code

clang settings

1 Answers
Related