Skip to content

Commit 7499367

Browse files
committed
Ignore -Wimplicit-function-declaration in cosmocc
1 parent 3f26dfb commit 7499367

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/integral/c.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ typedef struct {
531531
#pragma GCC diagnostic ignored "-Wold-style-definition" /* orwellian bullsh */
532532
#endif
533533

534+
#if defined __GNUC__ && __GNUC__ >= 14
535+
#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
536+
#endif
537+
534538
#ifdef __x86_64__
535539
#define DebugBreak() __asm__("int3")
536540
#elif defined(__aarch64__)

0 commit comments

Comments
 (0)