microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.9k stars 6.32k forks source link

[drogon] Build error #32255

Closed gsgtzq closed 1 year ago

gsgtzq commented 1 year ago

Package: drogon[core,ctl,mysql,orm,redis]:x64-linux -> 1.8.4

Host Environment

To Reproduce

vcpkg install drogon[ctl,mysql,redis]

Failure logs

Computing installation plan...
The following packages will be built and installed:
    drogon[core,ctl,mysql,orm,redis]:x64-linux -> 1.8.4
Installing 1/1 drogon:x64-linux...
Building drogon[core,ctl,mysql,orm,redis]:x64-linux...
-- Using cached an-tao-drogon-v1.8.4.tar.gz.
-- Extracting source /home/zhangqi/vcpkg/downloads/an-tao-drogon-v1.8.4.tar.gz
-- Applying patch vcpkg.patch
-- Applying patch drogon_config.patch
-- Using source at /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean
-- Found external ninja('1.11.1').
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j13
    Working Directory: /home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg
    See logs for more information:
      /home/zhangqi/vcpkg/buildtrees/drogon/install-x64-linux-dbg-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/drogon/portfile.cmake:39 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)
/home/zhangqi/vcpkg/buildtrees/drogon/install-x64-linux-dbg-out.log part 1 ``` [1/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/CacheFile.cc.o -MF CMakeFiles/drogon.dir/lib/src/CacheFile.cc.o.d -o CMakeFiles/drogon.dir/lib/src/CacheFile.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/CacheFile.cc [2/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/Cookie.cc.o -MF CMakeFiles/drogon.dir/lib/src/Cookie.cc.o.d -o CMakeFiles/drogon.dir/lib/src/Cookie.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/Cookie.cc [3/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/DrTemplateBase.cc.o -MF CMakeFiles/drogon.dir/lib/src/DrTemplateBase.cc.o.d -o CMakeFiles/drogon.dir/lib/src/DrTemplateBase.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/DrTemplateBase.cc [4/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/DrClassMap.cc.o -MF CMakeFiles/drogon.dir/lib/src/DrClassMap.cc.o.d -o CMakeFiles/drogon.dir/lib/src/DrClassMap.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/DrClassMap.cc [5/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpFileUploadRequest.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpFileUploadRequest.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpFileUploadRequest.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpFileUploadRequest.cc [6/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/AOPAdvice.cc.o -MF CMakeFiles/drogon.dir/lib/src/AOPAdvice.cc.o.d -o CMakeFiles/drogon.dir/lib/src/AOPAdvice.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/AOPAdvice.cc [7/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpBinder.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpBinder.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpBinder.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpBinder.cc [8/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/FiltersFunction.cc.o -MF CMakeFiles/drogon.dir/lib/src/FiltersFunction.cc.o.d -o CMakeFiles/drogon.dir/lib/src/FiltersFunction.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/FiltersFunction.cc [9/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/ConfigLoader.cc.o -MF CMakeFiles/drogon.dir/lib/src/ConfigLoader.cc.o.d -o CMakeFiles/drogon.dir/lib/src/ConfigLoader.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/ConfigLoader.cc [10/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpFileImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpFileImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpFileImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpFileImpl.cc [11/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpViewData.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpViewData.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpViewData.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpViewData.cc [12/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpResponseParser.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpResponseParser.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpResponseParser.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpResponseParser.cc [13/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpUtils.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpUtils.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpUtils.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpUtils.cc [14/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpRequestParser.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpRequestParser.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpRequestParser.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpRequestParser.cc [15/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpRequestImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpRequestImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpRequestImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpRequestImpl.cc [16/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpClientImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpClientImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpClientImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpClientImpl.cc [17/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/IntranetIpFilter.cc.o -MF CMakeFiles/drogon.dir/lib/src/IntranetIpFilter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/IntranetIpFilter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/IntranetIpFilter.cc [18/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/RangeParser.cc.o -MF CMakeFiles/drogon.dir/lib/src/RangeParser.cc.o.d -o CMakeFiles/drogon.dir/lib/src/RangeParser.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/RangeParser.cc [19/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/NotFound.cc.o -MF CMakeFiles/drogon.dir/lib/src/NotFound.cc.o.d -o CMakeFiles/drogon.dir/lib/src/NotFound.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/NotFound.cc [20/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/LocalHostFilter.cc.o -MF CMakeFiles/drogon.dir/lib/src/LocalHostFilter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/LocalHostFilter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/LocalHostFilter.cc [21/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpResponseImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpResponseImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpResponseImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpResponseImpl.cc [22/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/PluginsManager.cc.o -MF CMakeFiles/drogon.dir/lib/src/PluginsManager.cc.o.d -o CMakeFiles/drogon.dir/lib/src/PluginsManager.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/PluginsManager.cc [23/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpSimpleControllersRouter.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpSimpleControllersRouter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpSimpleControllersRouter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpSimpleControllersRouter.cc [24/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpServer.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpServer.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpServer.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpServer.cc [25/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/ListenerManager.cc.o -MF CMakeFiles/drogon.dir/lib/src/ListenerManager.cc.o.d -o CMakeFiles/drogon.dir/lib/src/ListenerManager.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/ListenerManager.cc [26/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/TaskTimeoutFlag.cc.o -MF CMakeFiles/drogon.dir/lib/src/TaskTimeoutFlag.cc.o.d -o CMakeFiles/drogon.dir/lib/src/TaskTimeoutFlag.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/TaskTimeoutFlag.cc [27/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpControllersRouter.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpControllersRouter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpControllersRouter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpControllersRouter.cc [28/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o -MF CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/RateLimiter.cc ```

Additional context

gsgtzq commented 1 year ago
/home/zhangqi/vcpkg/buildtrees/drogon/install-x64-linux-dbg-out.log part 2 ``` FAILED: CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o -MF CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/RateLimiter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/RateLimiter.cc In file included from /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/RateLimiter.cc:1: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h: In function ‘drogon::RateLimiterType drogon::stringToRateLimiterType(const std::string&)’: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:14: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [12]’) 17 | if (type == "fixedWindow" || type == "fixed_window") | ~~~~ ^~ ~~~~~~~~~~~~~ | | | | | const char [12] | const std::string {aka const std::__cxx11::basic_string} In file included from /usr/include/c++/13.1.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/13.1.1/bits/allocator.h:46, from /usr/include/c++/13.1.1/memory:65, from /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:3: /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/stl_tempbuf.h:62, from /usr/include/c++/13.1.1/memory:66: /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/stl_algobase.h:67, from /usr/include/c++/13.1.1/bits/stl_uninitialized.h:63, from /usr/include/c++/13.1.1/memory:69: /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/unique_ptr.h:36, from /usr/include/c++/13.1.1/memory:78: /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/iosfwd:42, from /usr/include/c++/13.1.1/bits/shared_ptr.h:52, from /usr/include/c++/13.1.1/memory:80: /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/shared_ptr.h:53: /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:39: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [13]’) 17 | if (type == "fixedWindow" || type == "fixed_window") | ~~~~ ^~ ~~~~~~~~~~~~~~ | | | | | const char [13] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:19: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [14]’) 19 | else if (type == "slidingWindow" || type == "sliding_window") | ~~~~ ^~ ~~~~~~~~~~~~~~~ | | | | | const char [14] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:46: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [15]’) 19 | else if (type == "slidingWindow" || type == "sliding_window") | ~~~~ ^~ ~~~~~~~~~~~~~~~~ | | | | | const char [15] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ [29/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/MultiPart.cc.o -MF CMakeFiles/drogon.dir/lib/src/MultiPart.cc.o.d -o CMakeFiles/drogon.dir/lib/src/MultiPart.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/MultiPart.cc [30/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o -MF CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/FixedWindowRateLimiter.cc FAILED: CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o -MF CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/FixedWindowRateLimiter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/FixedWindowRateLimiter.cc In file included from /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/FixedWindowRateLimiter.h:3, from /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/FixedWindowRateLimiter.cc:1: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h: In function ‘drogon::RateLimiterType drogon::stringToRateLimiterType(const std::string&)’: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:14: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [12]’) 17 | if (type == "fixedWindow" || type == "fixed_window") | ~~~~ ^~ ~~~~~~~~~~~~~ | | | | | const char [12] | const std::string {aka const std::__cxx11::basic_string} In file included from /usr/include/c++/13.1.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/13.1.1/bits/allocator.h:46, from /usr/include/c++/13.1.1/memory:65, from /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:3: /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/stl_tempbuf.h:62, from /usr/include/c++/13.1.1/memory:66: /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/stl_algobase.h:67, from /usr/include/c++/13.1.1/bits/stl_uninitialized.h:63, from /usr/include/c++/13.1.1/memory:69: /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/unique_ptr.h:36, from /usr/include/c++/13.1.1/memory:78: /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/iosfwd:42, from /usr/include/c++/13.1.1/bits/shared_ptr.h:52, from /usr/include/c++/13.1.1/memory:80: /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.1.1/bits/shared_ptr.h:53: /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:17: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [12]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:39: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [13]’) 17 | if (type == "fixedWindow" || type == "fixed_window") | ~~~~ ^~ ~~~~~~~~~~~~~~ | | | | | const char [13] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:17:42: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [13]’ 17 | if (type == "fixedWindow" || type == "fixed_window") | ^~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:19: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [14]’) 19 | else if (type == "slidingWindow" || type == "sliding_window") | ~~~~ ^~ ~~~~~~~~~~~~~~~ | | | | | const char [14] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:22: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [14]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:46: error: no match for ‘operator==’ (operand types are ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} and ‘const char [15]’) 19 | else if (type == "slidingWindow" || type == "sliding_window") | ~~~~ ^~ ~~~~~~~~~~~~~~~~ | | | | | const char [15] | const std::string {aka const std::__cxx11::basic_string} /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: candidate: ‘template bool std::operator==(const __new_allocator&, const __new_allocator<_Tp>&)’ 211 | operator==(const __new_allocator&, const __new_allocator<_Up>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/new_allocator.h:211:9: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::__new_allocator<_Tp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: candidate: ‘template bool std::operator==(const allocator<_Tp1>&, const allocator<_T2>&)’ 237 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:237:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::allocator<_Tp1>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: candidate: ‘template constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 812 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_pair.h:812:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::pair<_T1, _T2>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 448 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: candidate: ‘template constexpr bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 493 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::reverse_iterator<_Iterator>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1678 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1678:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: candidate: ‘template constexpr bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1748 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/stl_iterator.h:1748:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::move_iterator<_IteratorL>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: candidate: ‘template constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)’ 1905 | operator==(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13.1.1/tuple:1905:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::tuple<_UTypes ...>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 829 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:829:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: candidate: ‘template bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 837 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:837:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: candidate: ‘template bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 845 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: candidate: ‘template bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)’ 192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~ /usr/include/c++/13.1.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::fpos<_StateT>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: candidate: ‘template bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: candidate: ‘template bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: candidate: ‘template bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)’ 561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} is not derived from ‘const std::shared_ptr<_Tp>’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: candidate: ‘template bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)’ 582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13.1.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed: /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc/drogon/RateLimiter.h:19:49: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const char [15]’ 19 | else if (type == "slidingWindow" || type == "sliding_window") | ^~~~~~~~~~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:7: note: candidate: ‘bool std::operator==(const allocator&, const allocator&)’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/13.1.1/bits/allocator.h:216:18: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to ‘const std::allocator&’ 216 | operator==(const allocator&, const allocator&) _GLIBCXX_NOTHROW | ^~~~~~~~~~~~~~~~ [31/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/Utilities.cc.o -MF CMakeFiles/drogon.dir/lib/src/Utilities.cc.o.d -o CMakeFiles/drogon.dir/lib/src/Utilities.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/Utilities.cc [32/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/HttpAppFrameworkImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/HttpAppFrameworkImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/HttpAppFrameworkImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/HttpAppFrameworkImpl.cc [33/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/SessionManager.cc.o -MF CMakeFiles/drogon.dir/lib/src/SessionManager.cc.o.d -o CMakeFiles/drogon.dir/lib/src/SessionManager.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/SessionManager.cc [34/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/RealIpResolver.cc.o -MF CMakeFiles/drogon.dir/lib/src/RealIpResolver.cc.o.d -o CMakeFiles/drogon.dir/lib/src/RealIpResolver.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/RealIpResolver.cc [35/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/WebSocketConnectionImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/WebSocketConnectionImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/WebSocketConnectionImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/WebSocketConnectionImpl.cc [36/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/SecureSSLRedirector.cc.o -MF CMakeFiles/drogon.dir/lib/src/SecureSSLRedirector.cc.o.d -o CMakeFiles/drogon.dir/lib/src/SecureSSLRedirector.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/SecureSSLRedirector.cc [37/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/WebsocketControllersRouter.cc.o -MF CMakeFiles/drogon.dir/lib/src/WebsocketControllersRouter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/WebsocketControllersRouter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/WebsocketControllersRouter.cc [38/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/WebSocketClientImpl.cc.o -MF CMakeFiles/drogon.dir/lib/src/WebSocketClientImpl.cc.o.d -o CMakeFiles/drogon.dir/lib/src/WebSocketClientImpl.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/WebSocketClientImpl.cc [39/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/StaticFileRouter.cc.o -MF CMakeFiles/drogon.dir/lib/src/StaticFileRouter.cc.o.d -o CMakeFiles/drogon.dir/lib/src/StaticFileRouter.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/StaticFileRouter.cc [40/131] /usr/bin/c++ -DHAS_MYSQL_OPTIONSV -DHAS_YAML_CPP -DUSE_BROTLI -DUSE_OSSP_UUID=0 -DUSE_REDIS -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/orm_lib/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/nosql_lib/redis/inc -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg -I/home/zhangqi/vcpkg/buildtrees/drogon/x64-linux-dbg/exports -isystem /home/zhangqi/vcpkg/installed/x64-linux/include -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/uuid -isystem /home/zhangqi/vcpkg/installed/x64-linux/include/mysql -fPIC -g -std=c++17 -MD -MT CMakeFiles/drogon.dir/lib/src/AccessLogger.cc.o -MF CMakeFiles/drogon.dir/lib/src/AccessLogger.cc.o.d -o CMakeFiles/drogon.dir/lib/src/AccessLogger.cc.o -c /home/zhangqi/vcpkg/buildtrees/drogon/src/v1.8.4-be4cfc2af4.clean/lib/src/AccessLogger.cc ninja: build stopped: subcommand failed. ```
MonicaLiu0311 commented 1 year ago

Confirm, repro locally.

root@monica003:/home/monica/vcpkg# ./vcpkg version
vcpkg package management program version 2023-06-15-8c254a5fb6c503615834fc66bd0717664a339a2e

See LICENSE.txt for license information.