Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.8.28: make check: filevercmp.c:356:12: error: ‘_i’ redeclared as different kind of symbol #4366

Closed
mc-butler opened this issue Apr 5, 2022 · 1 comment
Labels
area: tests Testing Midnight Commander prio: low Minor problem or easily worked around ver: 4.8.28 Reproducible in version 4.8.28

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4366
Reporter Polynomial-C (polynomial-c@….de)
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I../../.. -pthread    -Wbad-function-cast -Wcomment -Wdeclaration-after-statement -Wfloat-conversion -Wfloat-equal -Wformat -
Wformat-security -Wformat-signedness -Wimplicit -Wimplicit-fallthrough -Wignored-qualifiers -Wlogical-not-parentheses -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -
Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-prototypes
-Wswitch -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunreachable-code -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wwrite-strings  -march=nat
ive -mtune=native -O2 -pipe -c -o filevercmp.o filevercmp.c
filevercmp.c: In function ‘filevercmp_test5_fn’:
filevercmp.c:356:12: error: ‘_i’ redeclared as different kind of symbol
  356 |     size_t _i;
      |            ^~
In file included from ../../../tests/mctest.h:6,
                 from filevercmp.c:28:
filevercmp.c:353:1: note: previous definition of ‘_i’ with type ‘int’
  353 | START_TEST (filevercmp_test5)
      | ^
make[4]: *** [Makefile:754: filevercmp.o] Error 1
@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 5, 2022 at 14:23 UTC (comment 1)

  • Milestone Future Releases deleted
  • Status changed from new to closed
  • Resolution set to duplicate

Closed as duplicate of #4358.
Just one question: why did you ignore search? This is a 3rd ticket with this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Testing Midnight Commander prio: low Minor problem or easily worked around ver: 4.8.28 Reproducible in version 4.8.28
Development

No branches or pull requests

1 participant