[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Fri Jan 18 16:08:16 UTC 2019
New commits:
commit d451f77d58f00986bb0605d4948be67a26385b31
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri Jan 18 10:58:57 2019 -0500
make older GCC's happy
All these were prompted by diagnostics from GCC 4.8.5. They probably
matter for other GCCs.
- GCC does not consider EMPTY_CHUNK a constant: don't use it as a
static initializer.
- GCC doesn't completely understand the way we initialized a
sub-struct field in a struct initializer. Rewrite in a way that it
does understand.
- GCC had stricter field initialization enforcement. Initialize fields
uselessly to silence it.
More information about the Swan-commit
mailing list