Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-28 Thread Keith Packard
> Do we want to keep insisting on this as part of our style, or have people > gotten used to it from other languages/projects now and are willing to > accept it in X.Org code? Yeah, a lot of style comments and one worry about older toolchains. Are all of the *BSDs are on C99 compilers now? Linux

Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-28 Thread Alan Coopersmith
Back when we first added a default set of compiler warning flags to our xorg-macros.m4 for autoconf in 2008, we included -Wdeclaration-after-statement since not all the compilers at the time supported this C99 feature (most notably some OpenBSD ports that used gcc 2.95, but also MSVC versions befo