Re:Forward Referencing in C
by gpderetta on Monday June 05, 2023 @07:33AM
(#36194907)
Recently GCC moved to make this an hard error by default in >=C99 mode. There was huge push back form some very vocal members of the community against such exoteric, bleeding edge type system non-sense like function prototypes; according to them having to add -pedantic gcc command-line to build legacy code is an unreasonable breaking change. The burden should be on beginners to find the correct GCC arguments to enable all the "useless" warning.
Thankfully GCC is going ahead with the change anyway.
Thankfully GCC is going ahead with the change anyway.