diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 94f4f15e5c..da200cd5fc 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -11,6 +11,42 @@ on: - '**' jobs: + check-warnings: + name: Extra-Warnings-Linux + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + build_type: [ 'Release' ] + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: '3.7' + architecture: 'x64' + - name: Build + shell: bash + env: + BUILD_TYPE: ${{ matrix.build_type }} + run: ci/build_linux.sh + - name: Warning report + shell: bash + run: ci/scripts/warning_report.sh + - name: Upload build log + uses: actions/upload-artifact@v4 + with: + name: build log + path: build.log + - name: Upload warning report + uses: actions/upload-artifact@v4 + with: + name: report + path: report.txt + - name: Upload warnings + uses: actions/upload-artifact@v4 + with: + name: warnings + path: warnings.json build-test-linux: name: Build-Test-Linux runs-on: ubuntu-latest diff --git a/CMakeLists.txt b/CMakeLists.txt index 56d07e3ff8..75e013d98f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,93 +4,26 @@ # cmake_minimum_required(VERSION 3.17) project(snowflakeclient) - -if (CLIENT_CODE_COVERAGE) # Only when code coverage is enabled - # set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1) - message("Code coverage is enabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage -fprofile-arcs -ftest-coverage -O0") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-arcs -ftest-coverage -O0 -fno-elide-constructors -fno-inline -fno-inline-small-functions -fno-default-inline") -else() - message("Code coverage is disabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) -endif () +include(cmake/platform.cmake) +include(cmake/flags.cmake) # Enabling tests by Ctest. Don't use INCLUDE(Ctest) as # we don't need Dart and other tools. enable_testing() -add_definitions(-DLOG_USE_COLOR) +add_compile_definitions(LOG_USE_COLOR) option(BUILD_TESTS "True if build tests" on) option(MOCK "True if mock should be used" off) set(OPENSSL_VERSION_NUMBER 0x11100000L) + # Developers can uncomment this to enable mock builds on their local VMs #set(MOCK TRUE) # Generates compile_commands.json file for clangd to parse. set(CMAKE_EXPORT_COMPILE_COMMANDS ON) - -if (MOCK) - set(MOCK_OBJECT_WRAPPER_FLAGS -Wl,--wrap=http_perform) - add_definitions(-DMOCK_ENABLED) -else() - set(MOCK_OBJECT_WRAPPER_FLAGS ) -endif () - -if (UNIX AND NOT APPLE) - set(LINUX TRUE) -endif () - -if (LINUX) - set(PLATFORM linux) - message("Platform: Linux") -endif () -if (APPLE) - set(PLATFORM darwin) - message("Platform: Apple OSX") -endif () -if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64") - set(PLATFORM win64) - message("Platform: Windows 64bit") -endif () -if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") - set(PLATFORM win32) - message("Platform: Windows 32bit") - if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") - set (WIN32_DEBUG ON) - message("WIN32_DEBUG: ${WIN32_DEBUG}") - endif () -endif () - set(CMAKE_VERBOSE_MAKEFILE ON) -if (UNIX) - # Linux and OSX - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -std=gnu99 -g -fPIC -Werror -Wno-error=deprecated-declarations -D_LARGEFILE64_SOURCE ${MOCK_OBJECT_WRAPPER_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -std=gnu++17 -fPIC -Werror -Wno-error=deprecated-declarations ${MOCK_OBJECT_WRAPPER_FLAGS}") -else() - # Windows - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /ZH:SHA_256 /guard:cf /Qspectre /sdl") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /ZH:SHA_256 /guard:cf /Qspectre /sdl") - if ($ENV{ARROW_FROM_SOURCE}) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING") - endif () -endif () -if (LINUX) - # Linux. MacOS doesn't require pthread option - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") -endif () - -if (LINUX) - # Profiler for Linux - if (NOT "$ENV{BUILD_WITH_PROFILE_OPTION}" STREQUAL "") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pg") - endif () - - # Code coverage for Linux - if (NOT "$ENV{BUILD_WITH_GCOV_OPTION}" STREQUAL "") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -gp -fprofile-arcs -ftest-coverage") - endif () -endif () +set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(SOURCE_FILES include/snowflake/basic_types.h @@ -340,8 +273,6 @@ if (WIN32) find_library(AWS_C_SDKUTILS_LIB aws-c-sdkutils.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/aws/lib/ REQUIRED NO_DEFAULT_PATH) find_library(AZURE_STORAGE_LITE_LIB azure-storage-lite.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/azure/lib/ REQUIRED NO_DEFAULT_PATH) if ($ENV{ARROW_FROM_SOURCE}) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBOOST_ALL_NO_LIB") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_ALL_NO_LIB") find_library(BOOST_FILESYSTEM_LIB libboost_filesystem.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) find_library(BOOST_REGEX_LIB libboost_regex.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) find_library(BOOST_SYSTEM_LIB libboost_system.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) @@ -459,9 +390,16 @@ if (MOCK) endif () add_library(snowflakeclient STATIC ${SOURCE_FILES} ${SOURCE_FILES_PUT_GET} ${SOURCE_FILES_CPP_WRAPPER}) +target_compile_features(snowflakeclient PUBLIC cxx_std_17) +target_compile_features(snowflakeclient PUBLIC c_std_99) +if (UNIX) + target_compile_definitions(snowflakeclient PUBLIC _LARGEFILE64_SOURCE) +endif () -set_target_properties(snowflakeclient PROPERTIES LINKER_LANGUAGE CXX) -set_property(TARGET snowflakeclient PROPERTY C_STANDARD 99) +if (LINUX) + target_compile_options(snowflakeclient PUBLIC -pthread) + target_link_options(snowflakeclient PUBLIC -pthread) +endif () #set (CMAKE_CXX_STANDARD 11) if(LINUX) diff --git a/ci/scripts/generate_warning_report.py b/ci/scripts/generate_warning_report.py new file mode 100644 index 0000000000..b9f9ccb2ac --- /dev/null +++ b/ci/scripts/generate_warning_report.py @@ -0,0 +1,136 @@ +import re +import enum +from dataclasses import dataclass +from sys import stderr +from typing import Optional, List +import dataclasses +import json +import argparse + +""" +Regexes for matching warnings: +/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter] <- message + 223 | size_t in_sizeOfBuffer, <- snippet +""" +message_re = re.compile(r"""(?P[^:]*):(?P\d+):(?:(?P\d+):)?\s+warning:(?P.*)\[(?P.*)\]""") + +class ParserState(enum.Enum): + MESSAGE = "MESSAGE" + SNIPPET = "SNIPPET" + +@dataclass +class CompilerWarning: + file_path: str + line: int + column: Optional[int] + message: str + flag: str + snippet: Optional[str] + source: str + def key(self): + return self.file_path, self.message, self.flag, self.snippet + +@dataclass +class WarningDiff: + new: List[CompilerWarning] + old: List[CompilerWarning] + +""" +Parses warnings from compiler output +""" +def parse_warnings(path: str) -> List[CompilerWarning]: + warnings = [] + state = ParserState.MESSAGE + with open(path, "r") as f: + lines = f.readlines() + for line in lines: + if state == ParserState.MESSAGE: + m_match = message_re.match(line) + if not m_match: + continue + + col = m_match.group("col") + if col: + col = int(col) + + warning = CompilerWarning( + file_path=m_match.group("file_path"), + line=int(m_match.group("line")), + column=col, + message=m_match.group("message"), + flag=m_match.group("flag"), + snippet=None, + source=line + ) + + warnings.append(warning) + state = ParserState.SNIPPET + continue + + if state == ParserState.SNIPPET: + warning.snippet = line + warning.source += line + + state = ParserState.MESSAGE + continue + + return warnings + +def dump_warnings(warnings: List[CompilerWarning]) -> str: + warnings_as_dict = [dataclasses.asdict(w) for w in warnings] + return json.dumps(warnings_as_dict, indent=2) + +def load_warnings(warnings_json: str) -> List[CompilerWarning]: + warnings_as_dict = json.loads(warnings_json) + return [CompilerWarning(**w) for w in warnings_as_dict] + +def write(path: str, data: str): + with open(path, "w") as f: + f.write(data) + +def read(path: str) -> str: + with open(path, "r") as f: + return f.read() + +def generate_report(path: str, new_warnings: List[CompilerWarning], old_warnings: List[CompilerWarning]): + with open(path, "w") as f: + diff = {} + for nw in new_warnings: + if nw.key() not in diff: + diff[nw.key()] = WarningDiff(new=[], old=[]) + + diff[nw.key()].new.append(nw) + + for ow in old_warnings: + if ow.key() not in diff: + diff[ow.key()] = WarningDiff(new=[], old=[]) + + diff[ow.key()].old.append(ow) + + for d in diff.values(): + balance = len(d.new) - len(d.old) + if balance < 0: + f.write("Removed {} compiler warnings from {} [{}].\n".format(-balance, d.old[0].file_path, d.old[0].flag)) + + if balance > 0: + f.write("Added {} compiler warnings to {} [{}]. Please remove following warnings:\n".format(balance, d.new[0].file_path, d.new[0].flag)) + for w in d.new: + f.write(w.source) + +parser = argparse.ArgumentParser( + prog='generate_warning_report', + description='Generate compiler warning report', + epilog='Text at the bottom of help' +) + +parser.add_argument('--build-log', required=True) # option that takes a value +parser.add_argument('--load-warnings', required=True) +parser.add_argument('--dump-warnings', required=True) +parser.add_argument('--report', required=True) +args = parser.parse_args() + +new_warnings = parse_warnings(args.build_log) +old_warnings = load_warnings(read(args.load_warnings)) +generate_report(args.report, new_warnings, old_warnings) +write(args.dump_warnings, dump_warnings(new_warnings)) + diff --git a/ci/scripts/report.txt b/ci/scripts/report.txt new file mode 100644 index 0000000000..db0f7a8338 --- /dev/null +++ b/ci/scripts/report.txt @@ -0,0 +1,3 @@ +Added 1 compiler warnings to /tmp/libsnowflakeclient/lib/client.c [-Wunused-variable]. Please remove following warnings: +/tmp/libsnowflakeclient/lib/client.c:1896:12: warning: unused variable 'raw_row_result' [-Wunused-variable] + 1896 | cJSON *raw_row_result; diff --git a/ci/scripts/warning_report.sh b/ci/scripts/warning_report.sh new file mode 100755 index 0000000000..53c18e833e --- /dev/null +++ b/ci/scripts/warning_report.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python3 ci/scripts/generate_warning_report.py --build-log build.log --load-warnings ci/scripts/warnings_baseline.json --dump-warnings warnings.json --report report.txt diff --git a/ci/scripts/warnings_baseline.json b/ci/scripts/warnings_baseline.json new file mode 100644 index 0000000000..51a13c0349 --- /dev/null +++ b/ci/scripts/warnings_baseline.json @@ -0,0 +1,4988 @@ +[ + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/rbtree.c", + "line": 135, + "column": 19, + "message": " unused variable 'temp_node' ", + "flag": "-Wunused-variable", + "snippet": " RedBlackNode *temp_node = NULL;", + "source": "/tmp/libsnowflakeclient/lib/rbtree.c:135:19: warning: unused variable 'temp_node' [-Wunused-variable]\n 135 | RedBlackNode *temp_node = NULL;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/rbtree.c", + "line": 134, + "column": 19, + "message": " unused variable 'parent' ", + "flag": "-Wunused-variable", + "snippet": " RedBlackNode *parent = NULL;", + "source": "/tmp/libsnowflakeclient/lib/rbtree.c:134:19: warning: unused variable 'parent' [-Wunused-variable]\n 134 | RedBlackNode *parent = NULL;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.c", + "line": 152, + "column": 37, + "message": " unused parameter 'file' ", + "flag": "-Wunused-parameter", + "snippet": "void sf_free(void *ptr, const char *file, int line) {", + "source": "/tmp/libsnowflakeclient/lib/memory.c:152:37: warning: unused parameter 'file' [-Wunused-parameter]\n 152 | void sf_free(void *ptr, const char *file, int line) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.c", + "line": 152, + "column": 47, + "message": " unused parameter 'line' ", + "flag": "-Wunused-parameter", + "snippet": "void sf_free(void *ptr, const char *file, int line) {", + "source": "/tmp/libsnowflakeclient/lib/memory.c:152:47: warning: unused parameter 'line' [-Wunused-parameter]\n 152 | void sf_free(void *ptr, const char *file, int line) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/results.c", + "line": 133, + "column": 54, + "message": " unused parameter 'precision' ", + "flag": "-Wunused-parameter", + "snippet": "SF_C_TYPE snowflake_to_c_type(SF_DB_TYPE type, int64 precision, int64 scale) {", + "source": "/tmp/libsnowflakeclient/lib/results.c:133:54: warning: unused parameter 'precision' [-Wunused-parameter]\n 133 | SF_C_TYPE snowflake_to_c_type(SF_DB_TYPE type, int64 precision, int64 scale) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 12, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:12: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 12 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 13, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:13: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 13 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 14, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:14: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 14 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 12, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:12: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 12 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 13, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:13: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 13 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.h", + "line": 14, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.h:14: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 14 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 136, + "column": 33, + "message": " unused parameter 'udata' ", + "flag": "-Wunused-parameter", + "snippet": "static void log_lock_func(void *udata, int lock) {", + "source": "/tmp/libsnowflakeclient/lib/client.c:136:33: warning: unused parameter 'udata' [-Wunused-parameter]\n 136 | static void log_lock_func(void *udata, int lock) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 307, + "column": 10, + "message": " unused variable 'strerror_buf' ", + "flag": "-Wunused-variable", + "snippet": " char strerror_buf[SF_ERROR_BUFSIZE];", + "source": "/tmp/libsnowflakeclient/lib/client.c:307:10: warning: unused variable 'strerror_buf' [-Wunused-variable]\n 307 | char strerror_buf[SF_ERROR_BUFSIZE];\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 1895, + "column": 12, + "message": " unused variable 'row' ", + "flag": "-Wunused-variable", + "snippet": " cJSON *row = NULL;", + "source": "/tmp/libsnowflakeclient/lib/client.c:1895:12: warning: unused variable 'row' [-Wunused-variable]\n 1895 | cJSON *row = NULL;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 1893, + "column": 12, + "message": " unused variable 'i' ", + "flag": "-Wunused-variable", + "snippet": " size_t i;", + "source": "/tmp/libsnowflakeclient/lib/client.c:1893:12: warning: unused variable 'i' [-Wunused-variable]\n 1893 | size_t i;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 3180, + "column": 79, + "message": " unused parameter 'fmt' ", + "flag": "-Wunused-parameter", + "snippet": "SF_STATUS STDCALL snowflake_timestamp_to_string(SF_TIMESTAMP *ts, const char *fmt, char **buffer_ptr,", + "source": "/tmp/libsnowflakeclient/lib/client.c:3180:79: warning: unused parameter 'fmt' [-Wunused-parameter]\n 3180 | SF_STATUS STDCALL snowflake_timestamp_to_string(SF_TIMESTAMP *ts, const char *fmt, char **buffer_ptr,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/client.c", + "line": 40, + "column": 14, + "message": " 'LOG_FP' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static FILE *LOG_FP = NULL;", + "source": "/tmp/libsnowflakeclient/lib/client.c:40:14: warning: 'LOG_FP' defined but not used [-Wunused-variable]\n 40 | static FILE *LOG_FP = NULL;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.c", + "line": 124, + "column": 15, + "message": " 'uimax' defined but not used ", + "flag": "-Wunused-function", + "snippet": "static uint32 uimax(uint32 a, uint32 b) {", + "source": "/tmp/libsnowflakeclient/lib/connection.c:124:15: warning: 'uimax' defined but not used [-Wunused-function]\n 124 | static uint32 uimax(uint32 a, uint32 b) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.c", + "line": 82, + "column": 5, + "message": " 'my_trace' defined but not used ", + "flag": "-Wunused-function", + "snippet": "int my_trace(CURL *handle, curl_infotype type,", + "source": "/tmp/libsnowflakeclient/lib/connection.c:82:5: warning: 'my_trace' defined but not used [-Wunused-function]\n 82 | int my_trace(CURL *handle, curl_infotype type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of '?:' changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n 95 | const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.c", + "line": 161, + "column": 19, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (i = 0; i < chunk_downloader->queue_size; i++) {", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.c:161:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n 161 | for (i = 0; i < chunk_downloader->queue_size; i++) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.c", + "line": 334, + "column": 19, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (i = 0; i < thread_count; i++) {", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.c:334:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n 334 | for (i = 0; i < thread_count; i++) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/chunk_downloader.c", + "line": 77, + "column": 21, + "message": " 'set_error' defined but not used ", + "flag": "-Wunused-function", + "snippet": "static void STDCALL set_error(struct SF_CHUNK_DOWNLOADER *chunk_downloader, sf_bool value) {", + "source": "/tmp/libsnowflakeclient/lib/chunk_downloader.c:77:21: warning: 'set_error' defined but not used [-Wunused-function]\n 77 | static void STDCALL set_error(struct SF_CHUNK_DOWNLOADER *chunk_downloader, sf_bool value) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/http_perform.c", + "line": 430, + "column": 52, + "message": " comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " ((time(NULL) - elapsedRetryTime) < curl_retry_ctx.retry_timeout) &&", + "source": "/tmp/libsnowflakeclient/lib/http_perform.c:430:52: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n 430 | ((time(NULL) - elapsedRetryTime) < curl_retry_ctx.retry_timeout) &&\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileCompressionType.cpp", + "line": 148, + "column": 26, + "message": " comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const short int' ", + "flag": "-Wsign-compare", + "snippet": " if (strlen(header) >= m_magicBytes &&", + "source": "/tmp/libsnowflakeclient/cpp/FileCompressionType.cpp:148:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const short int' [-Wsign-compare]\n 148 | if (strlen(header) >= m_magicBytes &&\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferExecutionResult.cpp", + "line": 223, + "column": 18, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i=0; isize(); i++)", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferExecutionResult.cpp:223:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n 223 | for (int i=0; isize(); i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 134, + "column": 7, + "message": " 'Snowflake::Client::Util::StreamAppender::m_totalPartNum' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_totalPartNum;", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:134:7: warning: 'Snowflake::Client::Util::StreamAppender::m_totalPartNum' will be initialized after [-Wreorder]\n 134 | int m_totalPartNum;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 131, + "column": 7, + "message": " 'int Snowflake::Client::Util::StreamAppender::m_parallel' ", + "flag": "-Wreorder", + "snippet": " int m_parallel;", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:131:7: warning: 'int Snowflake::Client::Util::StreamAppender::m_parallel' [-Wreorder]\n 131 | int m_parallel;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.cpp", + "line": 85, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "Snowflake::Client::Util::StreamAppender::StreamAppender(", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.cpp:85:1: warning: when initialized here [-Wreorder]\n 85 | Snowflake::Client::Util::StreamAppender::StreamAppender(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeGCSClient.cpp", + "line": 33, + "column": 75, + "message": " unused parameter 'parallel' ", + "flag": "-Wunused-parameter", + "snippet": "SnowflakeGCSClient::SnowflakeGCSClient(StageInfo *stageInfo, unsigned int parallel,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeGCSClient.cpp:33:75: warning: unused parameter 'parallel' [-Wunused-parameter]\n 33 | SnowflakeGCSClient::SnowflakeGCSClient(StageInfo *stageInfo, unsigned int parallel,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeGCSClient.cpp", + "line": 34, + "column": 20, + "message": " unused parameter 'transferConfig' ", + "flag": "-Wunused-parameter", + "snippet": " TransferConfig * transferConfig, IStatementPutGet* statement) :", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeGCSClient.cpp:34:20: warning: unused parameter 'transferConfig' [-Wunused-parameter]\n 34 | TransferConfig * transferConfig, IStatementPutGet* statement) :\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.hpp", + "line": 45, + "column": 10, + "message": " 'Snowflake::Client::Crypto::CipherStreamBuf::m_blockSize' will be initialized after ", + "flag": "-Wreorder", + "snippet": " size_t m_blockSize;", + "source": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.hpp:45:10: warning: 'Snowflake::Client::Crypto::CipherStreamBuf::m_blockSize' will be initialized after [-Wreorder]\n 45 | size_t m_blockSize;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.hpp", + "line": 38, + "column": 9, + "message": " 'char* Snowflake::Client::Crypto::CipherStreamBuf::m_srcBuffer' ", + "flag": "-Wreorder", + "snippet": " char *m_srcBuffer;", + "source": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.hpp:38:9: warning: 'char* Snowflake::Client::Crypto::CipherStreamBuf::m_srcBuffer' [-Wreorder]\n 38 | char *m_srcBuffer;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.cpp", + "line": 18, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "CipherStreamBuf::CipherStreamBuf(::std::basic_streambuf *streambuf,", + "source": "/tmp/libsnowflakeclient/cpp/crypto/CipherStreamBuf.cpp:18:1: warning: when initialized here [-Wreorder]\n 18 | CipherStreamBuf::CipherStreamBuf(::std::basic_streambuf *streambuf,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n 50 | bool finished;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n 38 | const unsigned int threadCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n 137 | ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/ClaimSet.hpp", + "line": 91, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override", + "source": "/tmp/libsnowflakeclient/cpp/jwt/ClaimSet.hpp:91:37: warning: unused parameter 'format' [-Wunused-parameter]\n 91 | inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/ClaimSet.hpp", + "line": 91, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override", + "source": "/tmp/libsnowflakeclient/cpp/jwt/ClaimSet.hpp:91:37: warning: unused parameter 'format' [-Wunused-parameter]\n 91 | inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/Header.hpp", + "line": 74, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override", + "source": "/tmp/libsnowflakeclient/cpp/jwt/Header.hpp:74:37: warning: unused parameter 'format' [-Wunused-parameter]\n 74 | inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/Jwt.cpp", + "line": 54, + "column": 44, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": "bool JWTObject::verify(EVP_PKEY *key, bool format)", + "source": "/tmp/libsnowflakeclient/cpp/jwt/Jwt.cpp:54:44: warning: unused parameter 'format' [-Wunused-parameter]\n 54 | bool JWTObject::verify(EVP_PKEY *key, bool format)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 38, + "column": 33, + "message": " unused parameter 'uploadId' ", + "flag": "-Wunused-parameter", + "snippet": " MultiUploadCtx_a(std::string &uploadId,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:38:33: warning: unused parameter 'uploadId' [-Wunused-parameter]\n 38 | MultiUploadCtx_a(std::string &uploadId,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 39, + "column": 18, + "message": " unused parameter 'partNumber' ", + "flag": "-Wunused-parameter", + "snippet": " unsigned int partNumber,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:39:18: warning: unused parameter 'partNumber' [-Wunused-parameter]\n 39 | unsigned int partNumber,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 40, + "column": 18, + "message": " unused parameter 'key' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &key,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:40:18: warning: unused parameter 'key' [-Wunused-parameter]\n 40 | std::string &key,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 41, + "column": 18, + "message": " unused parameter 'bucket' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &bucket)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:41:18: warning: unused parameter 'bucket' [-Wunused-parameter]\n 41 | std::string &bucket)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/Header.hpp", + "line": 74, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override", + "source": "/tmp/libsnowflakeclient/cpp/jwt/Header.hpp:74:37: warning: unused parameter 'format' [-Wunused-parameter]\n 74 | inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/Connection.cpp", + "line": 27, + "column": 63, + "message": " unused parameter 'type_' ", + "flag": "-Wunused-parameter", + "snippet": "void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {", + "source": "/tmp/libsnowflakeclient/cpp/lib/Connection.cpp:27:63: warning: unused parameter 'type_' [-Wunused-parameter]\n 27 | void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/Connection.cpp", + "line": 27, + "column": 82, + "message": " unused parameter 'value_' ", + "flag": "-Wunused-parameter", + "snippet": "void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {", + "source": "/tmp/libsnowflakeclient/cpp/lib/Connection.cpp:27:82: warning: unused parameter 'value_' [-Wunused-parameter]\n 27 | void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/Column.cpp", + "line": 7, + "column": 51, + "message": " unused parameter 'column_desc_' ", + "flag": "-Wunused-parameter", + "snippet": "Snowflake::Client::Column::Column(SF_COLUMN_DESC *column_desc_) {}", + "source": "/tmp/libsnowflakeclient/cpp/lib/Column.cpp:7:51: warning: unused parameter 'column_desc_' [-Wunused-parameter]\n 7 | Snowflake::Client::Column::Column(SF_COLUMN_DESC *column_desc_) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n 50 | bool finished;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n 38 | const unsigned int threadCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n 137 | ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 302, + "column": 27, + "message": " 'Snowflake::Client::FileTransferAgent::m_FileMetadataInitializer' will be initialized after ", + "flag": "-Wreorder", + "snippet": " FileMetadataInitializer m_FileMetadataInitializer;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:302:27: warning: 'Snowflake::Client::FileTransferAgent::m_FileMetadataInitializer' will be initialized after [-Wreorder]\n 302 | FileMetadataInitializer m_FileMetadataInitializer;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 296, + "column": 32, + "message": " 'Snowflake::Client::FileTransferExecutionResult* Snowflake::Client::FileTransferAgent::m_executionResults' ", + "flag": "-Wreorder", + "snippet": " FileTransferExecutionResult *m_executionResults;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:296:32: warning: 'Snowflake::Client::FileTransferExecutionResult* Snowflake::Client::FileTransferAgent::m_executionResults' [-Wreorder]\n 296 | FileTransferExecutionResult *m_executionResults;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 63, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "Snowflake::Client::FileTransferAgent::FileTransferAgent(", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:63:1: warning: when initialized here [-Wreorder]\n 63 | Snowflake::Client::FileTransferAgent::FileTransferAgent(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 296, + "column": 32, + "message": " 'Snowflake::Client::FileTransferAgent::m_executionResults' will be initialized after ", + "flag": "-Wreorder", + "snippet": " FileTransferExecutionResult *m_executionResults;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:296:32: warning: 'Snowflake::Client::FileTransferAgent::m_executionResults' will be initialized after [-Wreorder]\n 296 | FileTransferExecutionResult *m_executionResults;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 287, + "column": 20, + "message": " 'Snowflake::Client::IStorageClient* Snowflake::Client::FileTransferAgent::m_storageClient' ", + "flag": "-Wreorder", + "snippet": " IStorageClient * m_storageClient;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:287:20: warning: 'Snowflake::Client::IStorageClient* Snowflake::Client::FileTransferAgent::m_storageClient' [-Wreorder]\n 287 | IStorageClient * m_storageClient;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 63, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "Snowflake::Client::FileTransferAgent::FileTransferAgent(", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:63:1: warning: when initialized here [-Wreorder]\n 63 | Snowflake::Client::FileTransferAgent::FileTransferAgent(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 328, + "column": 7, + "message": " 'Snowflake::Client::FileTransferAgent::m_maxPutRetries' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_maxPutRetries;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:328:7: warning: 'Snowflake::Client::FileTransferAgent::m_maxPutRetries' will be initialized after [-Wreorder]\n 328 | int m_maxPutRetries;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 326, + "column": 8, + "message": " 'bool Snowflake::Client::FileTransferAgent::m_putFastFail' ", + "flag": "-Wreorder", + "snippet": " bool m_putFastFail;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:326:8: warning: 'bool Snowflake::Client::FileTransferAgent::m_putFastFail' [-Wreorder]\n 326 | bool m_putFastFail;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 63, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "Snowflake::Client::FileTransferAgent::FileTransferAgent(", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:63:1: warning: when initialized here [-Wreorder]\n 63 | Snowflake::Client::FileTransferAgent::FileTransferAgent(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 333, + "column": 7, + "message": " 'Snowflake::Client::FileTransferAgent::m_maxGetRetries' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_maxGetRetries;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:333:7: warning: 'Snowflake::Client::FileTransferAgent::m_maxGetRetries' will be initialized after [-Wreorder]\n 333 | int m_maxGetRetries;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 331, + "column": 8, + "message": " 'bool Snowflake::Client::FileTransferAgent::m_getFastFail' ", + "flag": "-Wreorder", + "snippet": " bool m_getFastFail;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:331:8: warning: 'bool Snowflake::Client::FileTransferAgent::m_getFastFail' [-Wreorder]\n 331 | bool m_getFastFail;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 63, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "Snowflake::Client::FileTransferAgent::FileTransferAgent(", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:63:1: warning: when initialized here [-Wreorder]\n 63 | Snowflake::Client::FileTransferAgent::FileTransferAgent(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 924, + "column": 28, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " (localFilePathBeginIdx > FILE_PROTOCOL.length()) &&", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:924:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n 924 | (localFilePathBeginIdx > FILE_PROTOCOL.length()) &&\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp", + "line": 956, + "column": 32, + "message": " comparison of integer expressions of different signedness: 'const size_type' {aka 'const long unsigned int'} and 'int' ", + "flag": "-Wsign-compare", + "snippet": " else if (std::string::npos == localFilePathEndIdx)", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.cpp:956:32: warning: comparison of integer expressions of different signedness: 'const size_type' {aka 'const long unsigned int'} and 'int' [-Wsign-compare]\n 956 | else if (std::string::npos == localFilePathEndIdx)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n 46 | virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 47 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 48 | std::basic_iostream& payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n 49 | size_t payloadLen,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 50 | std::string& responseHeaders)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n 66 | virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n 67 | std::vector const& headers,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n 68 | std::basic_iostream* payload,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n 69 | std::string& responseHeaders,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)", + "source": "/tmp/libsnowflakeclient/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n 70 | bool headerOnly)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n 76 | virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n 86 | virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 92 | virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n 98 | virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 104 | virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};", + "source": "/tmp/libsnowflakeclient/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n 53 | virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n 50 | bool finished;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n 38 | const unsigned int threadCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n 137 | ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n 101 | std::string m_putFileName;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n 96 | unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):", + "source": "/tmp/libsnowflakeclient/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n 43 | RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp", + "line": 132, + "column": 58, + "message": " comparison of integer expressions of different signedness: 'long long int' and 'const size_t' {aka 'const long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " if(fileMetadata->encryptionMetadata.cipherStreamSize <= m_uploadThreshold)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp:132:58: warning: comparison of integer expressions of different signedness: 'long long int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]\n 132 | if(fileMetadata->encryptionMetadata.cipherStreamSize <= m_uploadThreshold)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp", + "line": 181, + "column": 78, + "message": " unused parameter 'uploadCtx' ", + "flag": "-Wunused-parameter", + "snippet": "void Snowflake::Client::SnowflakeAzureClient::uploadParts(MultiUploadCtx_a * uploadCtx)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp:181:78: warning: unused parameter 'uploadCtx' [-Wunused-parameter]\n 181 | void Snowflake::Client::SnowflakeAzureClient::uploadParts(MultiUploadCtx_a * uploadCtx)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp", + "line": 242, + "column": 10, + "message": " unused variable 'ivEncodeSize' ", + "flag": "-Wunused-variable", + "snippet": " size_t ivEncodeSize = Snowflake::Client::Util::Base64::encodedLength(", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp:242:10: warning: unused variable 'ivEncodeSize' [-Wunused-variable]\n 242 | size_t ivEncodeSize = Snowflake::Client::Util::Base64::encodedLength(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp", + "line": 289, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < downloadParts.size(); i++)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.cpp:289:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n 289 | for (int i = 0; i < downloadParts.size(); i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeS3Client.cpp", + "line": 547, + "column": 21, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < downloadParts.size(); i++)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeS3Client.cpp:547:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n 547 | for (int i = 0; i < downloadParts.size(); i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()", + "source": "/tmp/libsnowflakeclient/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n 31 | inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n 50 | bool finished;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n 38 | const unsigned int threadCount;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)", + "source": "/tmp/libsnowflakeclient/cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n 137 | ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 38, + "column": 33, + "message": " unused parameter 'uploadId' ", + "flag": "-Wunused-parameter", + "snippet": " MultiUploadCtx_a(std::string &uploadId,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:38:33: warning: unused parameter 'uploadId' [-Wunused-parameter]\n 38 | MultiUploadCtx_a(std::string &uploadId,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 39, + "column": 18, + "message": " unused parameter 'partNumber' ", + "flag": "-Wunused-parameter", + "snippet": " unsigned int partNumber,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:39:18: warning: unused parameter 'partNumber' [-Wunused-parameter]\n 39 | unsigned int partNumber,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 40, + "column": 18, + "message": " unused parameter 'key' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &key,", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:40:18: warning: unused parameter 'key' [-Wunused-parameter]\n 40 | std::string &key,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp", + "line": 41, + "column": 18, + "message": " unused parameter 'bucket' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &bucket)", + "source": "/tmp/libsnowflakeclient/cpp/SnowflakeAzureClient.hpp:41:18: warning: unused parameter 'bucket' [-Wunused-parameter]\n 41 | std::string &bucket)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp", + "line": 350, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);", + "source": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp:350:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n 350 | rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp", + "line": 352, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_json_t *)rs)->rs_object);", + "source": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp:352:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n 352 | rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp", + "line": 374, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);", + "source": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp:374:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n 374 | rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp", + "line": 376, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_json_t *)rs)->rs_object);", + "source": "/tmp/libsnowflakeclient/cpp/lib/result_set.cpp:376:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n 376 | rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/jwt/jwtWrapper.cpp", + "line": 147, + "column": 16, + "message": " unused variable 'temp_obj' ", + "flag": "-Wunused-variable", + "snippet": " IClaimSet *temp_obj = NULL;", + "source": "/tmp/libsnowflakeclient/cpp/jwt/jwtWrapper.cpp:147:16: warning: unused variable 'temp_obj' [-Wunused-variable]\n 147 | IClaimSet *temp_obj = NULL;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"wldap32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:28: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 28 | #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"crypt32.lib\" )", + "source": "/tmp/libsnowflakeclient/lib/connection.h:29: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 29 | #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring '#pragma comment ' ", + "flag": "-Wunknown-pragmas", + "snippet": "#pragma comment(lib, \"Ws2_32.lib\")", + "source": "/tmp/libsnowflakeclient/lib/connection.h:30: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]\n 30 | #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ArrowChunkIterator.cpp", + "line": 62, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int col = 0; col < m_columnCount; ++col) {", + "source": "/tmp/libsnowflakeclient/cpp/lib/ArrowChunkIterator.cpp:62:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare]\n 62 | for (int col = 0; col < m_columnCount; ++col) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ArrowChunkIterator.cpp", + "line": 1094, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_columnCount; i++)", + "source": "/tmp/libsnowflakeclient/cpp/lib/ArrowChunkIterator.cpp:1094:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare]\n 1094 | for (int i = 0; i < m_columnCount; i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n 142 | virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n 152 | virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n 153 | Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.hpp", + "line": 321, + "column": 10, + "message": " 'Snowflake::Client::ResultSet::m_isFirstChunk' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool m_isFirstChunk;", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.hpp:321:10: warning: 'Snowflake::Client::ResultSet::m_isFirstChunk' will be initialized after [-Wreorder]\n 321 | bool m_isFirstChunk;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.hpp", + "line": 311, + "column": 17, + "message": " 'std::string Snowflake::Client::ResultSet::m_tzString' ", + "flag": "-Wreorder", + "snippet": " std::string m_tzString;", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.hpp:311:17: warning: 'std::string Snowflake::Client::ResultSet::m_tzString' [-Wreorder]\n 311 | std::string m_tzString;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.cpp", + "line": 36, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": "ResultSet::ResultSet(", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSet.cpp:36:1: warning: when initialized here [-Wreorder]\n 36 | ResultSet::ResultSet(\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n 178 | virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n 179 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 334, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:334:19: warning: redundant move in return statement [-Wredundant-move]\n 334 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 348, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:348:19: warning: redundant move in return statement [-Wredundant-move]\n 348 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h", + "line": 367, + "column": 19, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_base.h:367:19: warning: redundant move in return statement [-Wredundant-move]\n 367 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n 35 | int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n 37 | explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 83, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:83:21: warning: redundant move in return statement [-Wredundant-move]\n 83 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 121, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:121:21: warning: redundant move in return statement [-Wredundant-move]\n 121 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 221, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(out);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:221:21: warning: redundant move in return statement [-Wredundant-move]\n 221 | return std::move(out);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h", + "line": 238, + "column": 21, + "message": " redundant move in return statement ", + "flag": "-Wredundant-move", + "snippet": " return std::move(result);", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/decimal.h:238:21: warning: redundant move in return statement [-Wredundant-move]\n 238 | return std::move(result);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n 77 | virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n 78 | int64_t length) {\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n 89 | virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}", + "source": "/tmp/libsnowflakeclient/deps-build/linux/Debug/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n 40 | Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp", + "line": 224, + "column": 42, + "message": " unused parameter 'handle' ", + "flag": "-Wunused-parameter", + "snippet": " void CurlDescPool::curlShareLock(CURL *handle, curl_lock_data data,", + "source": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp:224:42: warning: unused parameter 'handle' [-Wunused-parameter]\n 224 | void CurlDescPool::curlShareLock(CURL *handle, curl_lock_data data,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp", + "line": 225, + "column": 53, + "message": " unused parameter 'access' ", + "flag": "-Wunused-parameter", + "snippet": " curl_lock_access access, void *ctx)", + "source": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp:225:53: warning: unused parameter 'access' [-Wunused-parameter]\n 225 | curl_lock_access access, void *ctx)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp", + "line": 255, + "column": 44, + "message": " unused parameter 'handle' ", + "flag": "-Wunused-parameter", + "snippet": " void CurlDescPool::curlShareUnlock(CURL *handle, curl_lock_data data,", + "source": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp:255:44: warning: unused parameter 'handle' [-Wunused-parameter]\n 255 | void CurlDescPool::curlShareUnlock(CURL *handle, curl_lock_data data,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/CurlDescPool.hpp", + "line": 86, + "column": 13, + "message": " 'Snowflake::Client::CurlDescPool::SubPool::m_curlShareDesc' will be initialized after ", + "flag": "-Wreorder", + "snippet": " CURLSH *m_curlShareDesc;", + "source": "/tmp/libsnowflakeclient/include/snowflake/CurlDescPool.hpp:86:13: warning: 'Snowflake::Client::CurlDescPool::SubPool::m_curlShareDesc' will be initialized after [-Wreorder]\n 86 | CURLSH *m_curlShareDesc;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/CurlDescPool.hpp", + "line": 76, + "column": 19, + "message": " 'Snowflake::Client::CurlDescPool& Snowflake::Client::CurlDescPool::SubPool::m_parentPool' ", + "flag": "-Wreorder", + "snippet": " CurlDescPool& m_parentPool;", + "source": "/tmp/libsnowflakeclient/include/snowflake/CurlDescPool.hpp:76:19: warning: 'Snowflake::Client::CurlDescPool& Snowflake::Client::CurlDescPool::SubPool::m_parentPool' [-Wreorder]\n 76 | CurlDescPool& m_parentPool;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp", + "line": 345, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " CurlDescPool::SubPool::SubPool(const std::string &endPointName,", + "source": "/tmp/libsnowflakeclient/cpp/util/CurlDescPool.cpp:345:3: warning: when initialized here [-Wreorder]\n 345 | CurlDescPool::SubPool::SubPool(const std::string &endPointName,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp", + "line": 76, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_totalColumnCount; i++)", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp:76:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]\n 76 | for (int i = 0; i < m_totalColumnCount; i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp", + "line": 87, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_totalColumnCount; i++)", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp:87:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]\n 87 | for (int i = 0; i < m_totalColumnCount; i++)\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp", + "line": 154, + "column": 13, + "message": " unused variable 'isNull' ", + "flag": "-Wunused-variable", + "snippet": " sf_bool isNull = SF_BOOLEAN_FALSE;", + "source": "/tmp/libsnowflakeclient/cpp/lib/ResultSetArrow.cpp:154:13: warning: unused variable 'isNull' [-Wunused-variable]\n 154 | sf_bool isNull = SF_BOOLEAN_FALSE;\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression in '< 0' is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]\n 108 | src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,", + "source": "/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n 223 | size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/tmp/libsnowflakeclient/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": "static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};", + "source": "/tmp/libsnowflakeclient/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n 28 | static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + } +] \ No newline at end of file diff --git a/cmake/flags.cmake b/cmake/flags.cmake new file mode 100644 index 0000000000..abd6d499b9 --- /dev/null +++ b/cmake/flags.cmake @@ -0,0 +1,41 @@ + +if (UNIX) + # Linux and OSX + if (USE_EXTRA_WARNINGS) + add_compile_options(-Wextra -Wall) + else () + add_compile_options(-Werror -Wno-error=deprecated-declarations) + if ("$ENV{GCCVERSION}" STRGREATER "9") + add_compile_options(-Wno-error=unused-result) + endif() + endif () +else() + # Windows + add_compile_options(/ZH:SHA_256 /guard:cf /Qspectre /sdl) + if ($ENV{ARROW_FROM_SOURCE}) + add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING BOOST_ALL_NO_LIB) + endif() +endif() + +if (LINUX) + # Profiler for Linux + if (NOT "$ENV{BUILD_WITH_PROFILE_OPTION}" STREQUAL "") + add_compile_options(-pg) + add_link_options(-pg) + endif () + + # Code coverage for Linux + if (CLIENT_CODE_COVERAGE) # Only when code coverage is enabled + message("Code coverage is enabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) + add_compile_options(--coverage -O0 $<$:-fno-elide-constructors> -fno-inline -fno-inline-small-functions -fno-default-inline) + add_link_options(--coverage) + else() + message("Code coverage is disabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) + endif () + + # Enable mocks + if (MOCK) + set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wl,--wrap=http_perform") + add_definitions(-DMOCK_ENABLED) + endif () +endif () diff --git a/cmake/platform.cmake b/cmake/platform.cmake new file mode 100644 index 0000000000..779bcd6864 --- /dev/null +++ b/cmake/platform.cmake @@ -0,0 +1,28 @@ + +if (UNIX AND NOT APPLE) + set(LINUX TRUE) +endif () + +if (LINUX) + set(PLATFORM linux) + message("Platform: Linux") +endif () + +if (APPLE) + set(PLATFORM darwin) + message("Platform: Apple OSX") +endif () + +if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64") + set(PLATFORM win64) + message("Platform: Windows 64bit") +endif () + +if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") + set(PLATFORM win32) + message("Platform: Windows 32bit") + if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") + set (WIN32_DEBUG ON) + message("WIN32_DEBUG: ${WIN32_DEBUG}") + endif () +endif () diff --git a/scripts/build_libsnowflakeclient.sh b/scripts/build_libsnowflakeclient.sh index 67a7e3d391..62b551f084 100755 --- a/scripts/build_libsnowflakeclient.sh +++ b/scripts/build_libsnowflakeclient.sh @@ -31,6 +31,7 @@ cmake_opts=( "-DCMAKE_CXX_COMPILER=$GXX" "-DCMAKE_BUILD_TYPE=$target" "-DCLIENT_CODE_COVERAGE=${CLIENT_CODE_COVERAGE}" + "-DUSE_EXTRA_WARNINGS=1" ) # Check to see if we are doing a universal build or not. @@ -61,7 +62,8 @@ if [[ "$ENABLE_MOCK_OBJECTS" == "true" ]]; then fi $CMAKE ${cmake_opts[@]} .. -make +make 2>&1 | tee ../build.log + BUILD_DIR=$DEPENDENCY_DIR/libsnowflakeclient rm -rf $BUILD_DIR diff --git a/scripts/utils.sh b/scripts/utils.sh index 449cfbfbda..cae18908a8 100755 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -65,7 +65,7 @@ function zip_file() local zip_file_name=$(get_zip_file_name "$component_name" "$component_version" "$build_type") - if [[ -z "$GITHUB_ACTIONS" ]] && [[ -n "$GIT_BRANCH" ]]; then + if [[ -n "$GIT_BRANCH" ]]; then local f=$UTILS_DIR/../artifacts/$zip_file_name rm -f $f pushd $DEPENDENCY_DIR/ @@ -85,7 +85,7 @@ function zip_files() local zip_file_name=$(get_zip_file_name "$component_name" "$component_version" "$build_type") - if [[ -z "$GITHUB_ACTIONS" ]] && [[ -n "$GIT_BRANCH" ]]; then + if [[ -n "$GIT_BRANCH" ]]; then local f=$UTILS_DIR/../artifacts/$zip_file_name rm -f $f pushd $DEPENDENCY_DIR/ diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b4a8fe9fc4..7eab19d7ea 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -158,10 +158,6 @@ if (UNIX) endif () if (LINUX) - if ($ENV{GCCVERSION} STRGREATER "9") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=unused-result") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=unused-result") - endif () # Group all arrow dependencies. set(ARROW_ALL_LIBS diff --git a/tests/unit_test_ocsp/CMakeLists.txt b/tests/unit_test_ocsp/CMakeLists.txt index 796f575120..dc86c5f3ad 100644 --- a/tests/unit_test_ocsp/CMakeLists.txt +++ b/tests/unit_test_ocsp/CMakeLists.txt @@ -1,11 +1,10 @@ project(test_ocsp) -set(CMAKE_C_FLAGS "-pthread -DSIMBA -D_REENTRANT -DCLUNIX -Wall") - add_executable( test_ocsp test_ocsp.c) target_link_libraries(test_ocsp ${TESTLIB_OPTS_C}) +target_compile_definitions(test_ocsp PRIVATE SIMBA _REENTRANT CLUNIX) add_test(test_ocsp test_ocsp)