Ticket #4366 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: Polynomial-C Owned by:
Priority: minor Milestone:
Component: tests Version: 4.8.28
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

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

Change History

comment:1 Changed 3 years ago by andrew_b

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

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

Note: See TracTickets for help on using tickets.