mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
move
This commit is contained in:
parent
806aaaa033
commit
18f40e08c4
1 changed files with 4 additions and 3 deletions
|
@ -6,6 +6,10 @@
|
||||||
#define COSMOPOLITAN_CXX_USING_
|
#define COSMOPOLITAN_CXX_USING_
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
|
||||||
|
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
|
||||||
|
#pragma GCC diagnostic warning "-Wint-conversion"
|
||||||
|
|
||||||
#if !defined(__GNUC__) && __cplusplus + 0 >= 201103L
|
#if !defined(__GNUC__) && __cplusplus + 0 >= 201103L
|
||||||
#define typeof(x) decltype(x)
|
#define typeof(x) decltype(x)
|
||||||
#elif !defined(__GNUC__) && __STDC_VERSION__ + 0 < 201112
|
#elif !defined(__GNUC__) && __STDC_VERSION__ + 0 < 201112
|
||||||
|
@ -524,9 +528,6 @@ typedef struct {
|
||||||
#pragma GCC diagnostic ignored "-Wuser-defined-literals" /* reserved for me */
|
#pragma GCC diagnostic ignored "-Wuser-defined-literals" /* reserved for me */
|
||||||
#endif
|
#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 "-Wformat-extra-args" /* todo: patch gcc */
|
||||||
#pragma GCC diagnostic ignored "-Wunused-function" /* contradicts dce */
|
#pragma GCC diagnostic ignored "-Wunused-function" /* contradicts dce */
|
||||||
#pragma GCC diagnostic ignored "-Wunused-const-variable" /* sooo ridiculous */
|
#pragma GCC diagnostic ignored "-Wunused-const-variable" /* sooo ridiculous */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue