mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 16:00:30 +00:00
convert GCC 14 errors back to warnings
https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors
This commit is contained in:
parent
6ac3d3b804
commit
806aaaa033
1 changed files with 3 additions and 0 deletions
|
@ -524,6 +524,9 @@ typedef struct {
|
|||
#pragma GCC diagnostic ignored "-Wuser-defined-literals" /* reserved for me */
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
|
||||
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
|
||||
#pragma GCC diagnostic warning "-Wint-conversion"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args" /* todo: patch gcc */
|
||||
#pragma GCC diagnostic ignored "-Wunused-function" /* contradicts dce */
|
||||
#pragma GCC diagnostic ignored "-Wunused-const-variable" /* sooo ridiculous */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue