[Bug 269653] src/sys/dev/an/if_an_pci.c : error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
Date: Sat, 18 Feb 2023 14:01:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269653 Bug ID: 269653 Summary: src/sys/dev/an/if_an_pci.c : error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ohartmann@walstatt.org Cross Compiling nanoBSD based appliance on CURRENT (14.0-CURRENT #0 main-n261013-df91d8167d97: Sat Feb 18 10:35:40 CET 2023 amd64) with surces of 13-STABLE as of today: commit e9296dc1bcd21cd9d719389cd04235ce4513e84d (HEAD -> stable/13, origin/stable/13 with a customized kernel, in which kernel config the driver "#device an" (Aironet driver) has been commented out kernel compiling results in [...] --- all_subdir_an --- /pool/home/ohartmann/Projects/router/router/apu2c4/src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] make[2]: stopped in /pool/home/ohartmann/Projects/router/router/apu2c4/src [...] The last know to me source of 13-STABLE is FreeBSD 13.2-PRERELEASE #183 n254363-d07eb716f35d: Sat Feb 4 10:44:22 CET 2023 (amd64) -- You are receiving this mail because: You are the assignee for the bug.