On Thu, Aug 07, 2008 at 08:40:26PM +0200, Ralf S. Engelschall wrote: > On Thu, Aug 07, 2008, Alexey Tourbin wrote: > > > [...] > > > - jbj: replace <stdint.h> with private typedefs. > > > > Why private typedefs are any better? > > For instance because the private ones are available everywhere while > the <stdint.h> ones require at least a C99 environment which in turn > unnecessarily increases the entry barrier for a bootstrapping tool like > RPM when it comes to non-Linux platforms.
Arguably a better approach is to define uint32_t etc. on systems that miss them instead of introducing rpmuint32_t. My $EDITOR can highlight uint32_t but knows nothing about rpmuint32_t. As a developer, I'm disappointed about reading the code made harder.
pgpYZdyrXi15e.pgp
Description: PGP signature