Use of C99 features
wk at gnupg.org
Wed Oct 28 16:47:56 CET 2015
On Wed, 28 Oct 2015 15:20, rjh at sixdemonbag.org said:
> the past it was possible to compile GnuPG with a C++ compiler. C++ has
> much stricter type rules, and in my experience C++ compilers are more
> demanding than C compilers in terms of what bad programming habits they
Please keep in mind that C and C++ are two different languages - there
are subtle difference and thus using a C++ compiler for C code may work
but is not suggested.
> I'd prefer to see the constants from stdint.h be used.
We are already using INT32_MAX if available to work a round an AIX
problem. And frankly, I added stdint.h at one place without doing a
configure test already last year ;-)
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel