Homec4science

avoid -Wshadow warning on GCC

Authored by Herbert Thielen <thielen@hs-worms.de> on Sep 4 2017, 13:23.

Description

avoid -Wshadow warning on GCC

When using INSTANTIATE_TEST_CASE_P with a lambda function which uses
'info' as parameter name, GCC complains that this would shadow
parameter 'info' used in the macro's VA_ARGS call.

Details

Committed
Herbert Thielen <thielen@hs-worms.de>Sep 4 2017, 17:18
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:520ad96b7817: treat all warnings as errors for GCC (-Werror)
Branches
Unknown
Tags
Unknown

Event Timeline

Herbert Thielen <thielen@hs-worms.de> committed R9484:8abacca52eeb: avoid -Wshadow warning on GCC (authored by Herbert Thielen <thielen@hs-worms.de>).Sep 4 2017, 17:18