▲ | mastax a day ago | ||||||||||||||||
Do distros have tooling to deal with this type of change? I imagine it would be very useful to be able to search through all the C/C++ source files for all the packages in the distro in a semantic manner, so that it understands typedefs and preprocessor macros etc. The search query for this change would be something like "find all union types whose first member is not its largest member, then find all lines of code where that type is initialized with `{0}`". | |||||||||||||||||
▲ | ryao a day ago | parent | next [-] | ||||||||||||||||
As a retired Gentoo developer, I can say not really as far as I know. There could be static analysis tools that can find this, but I am not aware of anyone who runs them on the entire distribution. | |||||||||||||||||
| |||||||||||||||||
▲ | ris 4 hours ago | parent | prev [-] | ||||||||||||||||
Distributions tend to use shell-script-wrapped compilers that can inject additional flags desired by the distribution, and in all likelihood distributions will just add flags that force the old behaviour if there are problems. |