Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang19: Unknown -Wall-pedantic #618

Open
krlmlr opened this issue Jun 5, 2024 · 0 comments
Open

clang19: Unknown -Wall-pedantic #618

krlmlr opened this issue Jun 5, 2024 · 0 comments

Comments

@krlmlr
Copy link

krlmlr commented Jun 5, 2024

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant