On 09/02/2023 10:38 am, Jan Beulich wrote: > Have these in one place, for all architectures to use. Also use the C99 > types as the "original" ones, and derive the Linux compatible ones > (which we're trying to phase out). For __s<N>, seeing that no uses exist > anymore, move them to a new Linux compatibility header (as an act of > precaution - we don't have any uses of these types right now). > > Modern compilers supply __{,U}INT<n>_TYPE__ - use those if available. > Otherwise fall back to using "mode" attributes, but this can be relied > upon only when bytes are 8 bits wide. Should there ever be a port to an > architecture not matching this, it would need to define the fixed width > types locally by some other means.
These types were added in GCC 4.5. It is 12 years old. We even use a newer C standard than this compiler... At this point, it is an unreasonable burden to be continuing to support compilers this obsolete, not to mention that the mode attributes are unreadable to anyone who isn't a GCC developer and clearly unnecessary to begin with. ~Andrew