You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a warning when compiling munit.c with gcc -Wshadow (GCC version 7.4.0, but happens consistently with higher versions too).
$ gcc -c -Wshadow -fpic munit.c
munit.c: In function‘munit_test_runner_run_test_with_params’:
munit.c:1426:24: warning: declaration of ‘orig_stderr’ shadows a previous local [-Wshadow]
const volatile int orig_stderr = munit_replace_stderr(stderr_buf);
^~~~~~~~~~~
munit.c:1299:7: note: shadowed declaration is here
int orig_stderr;
^~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I get a warning when compiling munit.c with
gcc -Wshadow
(GCC version 7.4.0, but happens consistently with higher versions too).The text was updated successfully, but these errors were encountered: