r-hub / rhub

R-hub API client
https://r-hub.github.io/rhub/
Other
353 stars 51 forks source link

clang19: Unknown `-Wall-pedantic` #618

Open krlmlr opened 4 months ago

krlmlr commented 4 months ago

From a clone of https://github.com/duckdb/duckdb-r:

docker run --rm -ti -v $(pwd):/root/workspace ghcr.io/r-hub/containers/clang19:latest \
  sh -c 'cd /root/workspace/src && clang++-19 -stdlib=libc++ -std=gnu++17 -I"/opt/R/devel/lib/R/include" -DNDEBUG -Iinclude -I../inst/include -DDUCKDB_DISABLE_PRINT -DDUCKDB_R_BUILD -Iduckdb/src/include -Iduckdb/third_party/concurrentqueue -Iduckdb/third_party/fast_float -Iduckdb/third_party/fastpforlib -Iduckdb/third_party/fmt/include -Iduckdb/third_party/fsst -Iduckdb/third_party/httplib -Iduckdb/third_party/hyperloglog -Iduckdb/third_party/jaro_winkler -Iduckdb/third_party/jaro_winkler/details -Iduckdb/third_party/libpg_query -Iduckdb/third_party/libpg_query/include -Iduckdb/third_party/lz4 -Iduckdb/third_party/mbedtls -Iduckdb/third_party/mbedtls/include -Iduckdb/third_party/mbedtls/library -Iduckdb/third_party/miniz -Iduckdb/third_party/pcg -Iduckdb/third_party/re2 -Iduckdb/third_party/skiplist -Iduckdb/third_party/tdigest -Iduckdb/third_party/utf8proc -Iduckdb/third_party/utf8proc/include -Iduckdb/third_party/yyjson/include -Iduckdb/extension/parquet/include -Iduckdb/third_party/parquet -Iduckdb/third_party/thrift -Iduckdb/third_party/lz4 -Iduckdb/third_party/snappy -Iduckdb/third_party/zstd/include -Iduckdb/third_party/mbedtls -Iduckdb/third_party/mbedtls/include -I../inst/include -Iduckdb -DDUCKDB_EXTENSION_PARQUET_LINKED -DDUCKDB_BUILD_LIBRARY  -I/usr/local/include    -fpic  -O3 -Wall-pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c duckdb/ub_src_core_functions_aggregate_distributive.cpp -o duckdb/ub_src_core_functions_aggregate_distributive.o'

Output:

warning: unknown warning option '-Wall-pedantic'; did you mean '-Wpedantic'? [-Wunknown-warning-option]

(Plus a bunch of errors, which I'm looking into.)