Compilation problem in bfdio.c using mingw.org's MinGW

2022-12-17 Thread Eli Zaretskii
When building the latest snapshot of GDB 13 with mingw.org's MinGW tools, I bumped into the following compilation error: CC bfdio.lo bfdio.c: In function '_bfd_real_fopen': bfdio.c:130:28: error: implicit declaration of function '___lc_codepage_func'

Warnings when compiling Binutils 2.25 on MinGW

2015-03-20 Thread Eli Zaretskii
For these 3 warnings I already suggested a patch: mingw32-gcc -c -DHAVE_CONFIG_H -Og -g3 -D__USE_MINGW_ACCESS -I. -I../../binutils-2.25/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../binutils-2.25/libiberty/strerror.c -o strerror.o In file