Detect implicit function declarations

This was suppressed recently and it's the worst possible idea when doing
greenfield software development with C. I'm so sorry it slipped through.
If the C standards committee was smart they would change the standard so
that implicit int becomes implicit long. Then problems such as this will
never occur and we could even use traditional C safely if we wanted too.
This commit is contained in:
Justine Tunney 2024-08-26 15:34:08 -07:00
parent ebe1cbb1e3
commit 185e957696
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -531,10 +531,6 @@ typedef struct {
#pragma GCC diagnostic ignored "-Wold-style-definition" /* orwellian bullsh */ #pragma GCC diagnostic ignored "-Wold-style-definition" /* orwellian bullsh */
#endif #endif
#if !defined(__cplusplus) && defined(__GNUC__) && __GNUC__ >= 14
#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
#endif
#ifdef __x86_64__ #ifdef __x86_64__
#define DebugBreak() __asm__("int3") #define DebugBreak() __asm__("int3")
#elif defined(__aarch64__) #elif defined(__aarch64__)