Ignore -Wimplicit-function-declaration in cosmocc

This commit is contained in:
Justine Tunney 2024-08-03 21:36:36 -07:00
parent 3f26dfbb31
commit 7499367060
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -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__)