diff options
author | Jack Lloyd <[email protected]> | 2016-02-20 18:06:12 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-02-20 18:06:12 -0500 |
commit | 30edf16ca6fabc22f47e10b18cb1fafb62ad5a82 (patch) | |
tree | 5b65788a3efd0cb3411d88ae1eb027ad22ef27e2 /src/tests/test_bigint.cpp | |
parent | f794b638a4059d3c004f092b6bd89d27cf4ffefa (diff) |
Avoid some Wshadows in GCC 4.8
In GCC 4.7 and 4.8, Wshadow also warns if a local variable conflicts
with a member function. This was changed in GCC 4.9 (GCC bugzilla
57709) but causes a lot of warnings on Travis which is on 4.8. Clang's
Wshadow behaves like GCC 4.9
The worst offendor was Exception's constructor argument being named
`what` which conflicts with the member function of the same name,
being in a public header this causes so many warnings the Travis log
files are truncated.
This fixes Exception and a couple of others. Fixing all cases would be
a slog that I'm not up for right at the moment.
Diffstat (limited to 'src/tests/test_bigint.cpp')
0 files changed, 0 insertions, 0 deletions