complie error
Closed this issue · 0 comments
x86_64-w64-mingw32-gcc -D_PG_ORCL_ -DPGXC -DXCP -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../src/include/port/win32" -DBUILDING_DLL -c -o zic.o zic.c
zic.c: In function 'writezone':
zic.c:2172:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
2172 | strncpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** No rule to make target '../../src/port/win32ver.rc', needed by 'win32ver.rc'. Stop.