mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Ignore -Wimplicit-function-declaration in cosmocc
This commit is contained in:
parent
3f26dfbb31
commit
7499367060
1 changed files with 4 additions and 0 deletions
|
@ -531,6 +531,10 @@ typedef struct {
|
||||||
#pragma GCC diagnostic ignored "-Wold-style-definition" /* orwellian bullsh */
|
#pragma GCC diagnostic ignored "-Wold-style-definition" /* orwellian bullsh */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined __GNUC__ && __GNUC__ >= 14
|
||||||
|
#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
#define DebugBreak() __asm__("int3")
|
#define DebugBreak() __asm__("int3")
|
||||||
#elif defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
|
|
Loading…
Add table
Reference in a new issue