Snippets for gcc 15.3.0 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/36nxs9n3qzpnipvn96c52g31ix82r05w-libiberty-15.3.0.drv.
-
./regex.c:3978:24: warning: implicit conversion from 'int' to enumeration type 'reg_errcode_t' is invalid in C++ [-Wimplicit-int-enum-cast] 3978 | FREE_STACK_RETURN (p == pend ? REG_EBRACE : REG_BADBR); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./sha1.c:239:11: warning: defining a type within 'offsetof' is a C23 extension [-Wc23-extensions] 239 | if (UNALIGNED_P (buffer)) | ^~~~~~~~~~~~~~~~~~~~ -
./choose-temp.c:71:7: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 71 | if (mktemp (temp_filename) == 0) | ^