Fixing various issues reported by static code analysis and compiler w… #30
Annotations
10 warnings and 1 notice
build (windows-latest, msvc):
src/RequestImpl.cpp#L123
'initializing': conversion from 'unsigned long' to 'uint16_t', possible loss of data
|
build (windows-latest, msvc):
src/RequestImpl.cpp#L123
'initializing': conversion from 'unsigned long' to 'const uint16_t', possible loss of data
|
build (windows-latest, msvc):
src/RequestImpl.cpp#L962
throwing an object of non-copyable type 'restc_cpp::RequestImpl::RedirectException' is non-standard. If a copy is needed at runtime it will be made as if by memcpy.
|
build (windows-latest, msvc):
src/RequestBodyFileImpl.cpp#L49
'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
build (windows-latest, msvc):
include/restc-cpp/test_helper.h#L17
'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
build (windows-latest, msvc):
include/restc-cpp/test_helper.h#L17
'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
build (windows-latest, msvc):
include/restc-cpp/test_helper.h#L17
'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
build (windows-latest, msvc):
include/restc-cpp/SerializeJson-cpp17.h#L313
'argument': conversion from 'const valT' to 'const _Elem', possible loss of data
|
build (windows-latest, msvc):
include/restc-cpp/SerializeJson-cpp17.h#L313
'argument': conversion from 'const valT' to 'const _Elem', possible loss of data
|
build (windows-latest, msvc):
include/restc-cpp/SerializeJson-cpp17.h#L313
'argument': conversion from 'const valT' to 'const _Elem', possible loss of data
|
build (macos-latest)
Vcpkg folder already exists at /Users/runner/vcpkg. Skipping the clone
|