[Bug target/120515] darwin warning: ld: warning: -U option is redundant when using -undefined dynamic_lookup

2025-06-06 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120515 --- Comment #2 from Peter Eisentraut --- Yes, I did figure that out, and -nodefaultexport does work. But as you said, it's not documented, and it's not clear whether it should be the burden of the user to use it.

[Bug driver/120515] New: darwin warning: ld: warning: -U option is redundant when using -undefined dynamic_lookup

2025-06-03 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120515 Bug ID: 120515 Summary: darwin warning: ld: warning: -U option is redundant when using -undefined dynamic_lookup Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug c/115532] New: Small documentation fixes for -Wsuggest-attribute=returns_nonnull

2024-06-17 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115532 Bug ID: 115532 Summary: Small documentation fixes for -Wsuggest-attribute=returns_nonnull Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/84203] add -Wsuggest-attribute=returns_nonnull

2024-06-17 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84203 Peter Eisentraut changed: What|Removed |Added CC||peter at eisentraut dot org --- Comme

[Bug c/115513] attribute nonstring could help with printf mistakes

2024-06-17 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115513 --- Comment #2 from Peter Eisentraut --- (In reply to Xi Ruoyao from comment #1) > But what should we do with something like `printf("%32s", pd->name);`? Perhaps you mean printf("%.32s", pd->name); ? (I don't think the minimum field widt

[Bug c/115513] New: attribute nonstring could help with printf mistakes

2024-06-16 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115513 Bug ID: 115513 Summary: attribute nonstring could help with printf mistakes Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/66249] -Wformat-signedness should not warn on enums

2020-11-06 Thread peter at eisentraut dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66249 --- Comment #3 from Peter Eisentraut --- The GCC documentation on implementation-defined behavior states that enums are unsigned unless negative values are included. It says that -fshort-enums is the default for some ABIs, but there is no indica