Snippets for postgresql 19.0 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/5gc1a8x3n4sqjvs081hlwfmqc3qcsw5b-postgresql-19.0.drv.
-
exec.c:250:11: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 250 | char *abspath = pg_realpath(path); | ^ -
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wmissing-format-attribute -Wimplicit-fallthrough -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -g -fdata-sections -ffunction-sections -flto -Wstrict-prototypes -Wold-style-definition -DFRONTEND -I. -I../../src/common -I../../src/include -isysroot /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I/nix/store/2n7l9vxxqnhh5chic9dvivswllprx3cj-libxml2-2.15.4-dev/include/libxml2 -I/nix/store/iq4fmpva4yw78lx8fy1lfc8dmaiinn3i-lz4-1.10.0-dev/include -I/nix/store/qfkmpd3bb399fyi3nm3v9cwb8drlxgrc-zstd-1.5.7-dev/include -I/nix/store/ihk8vh270m679kylw08y8wjnf6qhj6ns-icu4c-78.3-dev/include -DVAL_CC="\"clang\"" -DVAL_CPPFLAGS="exec.c:250:11: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 250 | char *abspath = pg_realpath(path); | ^ -
pg_config.c:26:17: warning: unused variable 'rsinfo' [-Wunused-variable] 26 | ReturnSetInfo *rsinfo = (ReturnSetInfo *) fcinfo->resultinfo; | ^~~~~~ -
pg_config.c:27:14: warning: unused variable 'configdata' [-Wunused-variable] 27 | ConfigData *configdata; | ^~~~~~~~~~ -
pg_config.c:28:10: warning: unused variable 'configdata_len' [-Wunused-variable] 28 | size_t configdata_len; | ^~~~~~~~~~~~~~ -
pg_config.c:29:8: warning: unused variable 'i' [-Wunused-variable] 29 | int i = 0; | ^