Jeff Alder created THRIFT-5738: ---------------------------------- Summary: Compiler build fails on Mac Key: THRIFT-5738 URL: https://issues.apache.org/jira/browse/THRIFT-5738 Project: Thrift Issue Type: Bug Environment: Mac OS Ventura 13.6 ({{Darwin J59JPHTWW7 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:41:28 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_ARM64_T6000 arm64}})
{noformat} % gcc --version Apple clang version 15.0.0 (clang-1500.0.40.1) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin {noformat} Reporter: Jeff Alder Building 0.19.0 on Mac OS Ventura 13.6 ({{Darwin J59JPHTWW7 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:41:28 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_ARM64_T6000 arm64}}) yields this error: {noformat} src/thrift/generate/t_java_generator.cc:5759:9: error: variable 'j' set but not used [-Werror,-Wunused-but-set-variable] int j = 0; ^ 1 error generated. make[1]: *** [src/thrift/generate/thrift-t_java_generator.o] Error 1 {noformat} {noformat} % gcc --version Apple clang version 15.0.0 (clang-1500.0.40.1) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)