Home GnuPG
Diffusion GPGME aa98081356b5

core: Allow for older compilers.

Description

core: Allow for older compilers.

* tests/run-verify.c (main): Remove C99-only syntax.
* tests/run-threaded.c (start_keylistings): Ditto.

Older gcc's do not grok this and there is no real need for it.

run-verify.c:324: error: ‘for’ loop initial declarations are only
allowed in C99 mode
run-verify.c:324: note: use option -std=c99 or -std=gnu99 to compile
your code
  • Reported-by: Lars Hecking

Details

Provenance
wernerAuthored on May 12 2021, 8:47 AM
Parents
rM88db69e1a964: core: Make sure to stay ABI compatible.
Branches
Unknown
Tags
Unknown