Welcome Sam James as #curl committer 1217: github.com/curl/curl/pull/1229… (yes, that's the silliest gcc warning introduced in a long time IMHO)
Fix -Walloc-size by thesamesam · Pull Request #12292 · curl/curl
GCC 14 introduces a new -Walloc-size included in -Wextra which gives: src/tool_operate.c: In function ‘add_per_transfer’: src/tool_operate.c:213:5: warning: allocation of insufficient size ‘1’ for ...GitHub
Mark Esler
in reply to daniel:// stenberg:// • • •Jonathan Yu
in reply to daniel:// stenberg:// • • •daniel:// stenberg://
in reply to Jonathan Yu • • •sven
in reply to daniel:// stenberg:// • • •I guess it's only silly if you know the implementation and *know* it makes no difference. Even then, the implementation might change, breaking your code
daniel:// stenberg://
in reply to sven • • •