2026-09-22 22:02 UTC
I guess plenty of platforms were still rocking pre-ansi compilers in the dark days of 1992
Replies (1)
-
@foone@digipres.club 2026-09-22 22:29
actually I don't even understand what this code is doing foobar.c at the top has: extern void blah(int a, int b); and later around line 300 has static void blah(a, b) int a; int b; { // stuff here } why are you defining a function as extern, and then later defining it as static in the same compilation unit? GCC is naturally getting a little annoyed by this.