Sorry for the noise. This is my mistake. I pass __USE_MINGW_ANSI_STDIO in
flags when configure GDB.
Regards,
Alexey!
2013/4/23 Алексей Павлов <alex...@gmail.com>
> This issue from 5812 commit I think
>
>
> 2013/4/23 Алексей Павлов <alex...@gmail.com>
>
>> Thanks Jacek. Your patch resolv issue with daylight.
>> But now I have issue with asprintf when building GDB-7.5.1:
>>
>> i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -O2 -pipe
>> -I/temp/x32-480-posix-dwarf-r3/libs/include
>> -I/temp/mingw-prereq/x32-zlib/include
>> -I/temp/mingw-prereq/i686-w64-mingw32-static/include
>> -D__USE_MINGW_ANSI_STDIO=1
>> -I/temp/x32-480-posix-dwarf-r3/mingw32/opt/include/python2.7
>> -D__USE_MINGW_ACCESS -I. -I../../../../src/gdb-7.5.1/libiberty/../include
>> -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic
>> ../../../../src/gdb-7.5.1/libiberty/asprintf.c -o asprintf.o
>> ../../../../src/gdb-7.5.1/libiberty/asprintf.c:47:1: error: redefinition
>> of 'asprintf'
>> asprintf (char **buf, const char *fmt, ...)
>> ^
>> In file included from
>> ../../../../src/gdb-7.5.1/libiberty/../include/libiberty.h:50:0,
>> from ../../../../src/gdb-7.5.1/libiberty/asprintf.c:26:
>> c:\gccbuild\msys\temp\x32-480-posix-dwarf-r3\mingw32\i686-w64-mingw32\include\stdio.h:319:5:
>> note: previous definition of 'asprintf' was here
>> int asprintf(char **__ret, const char *__format, ...)
>> ^
>> Makefile:521: recipe for target `asprintf.o' failed
>> make[2]: *** [asprintf.o] Error 1
>> make[2]: Leaving directory
>> `/temp/x32-480-posix-dwarf-r3/build/gdb-7.5.1/libiberty'
>>
>>
>> 2013/4/23 Jacek Caban <ja...@codeweavers.com>
>>
>>> On 04/23/13 12:12, Alexpux wrote:
>>> > Sorry I am not clearly write here.
>>> > Revision 5806 is work. But last revision 5811 has issue that I wrote
>>> > in top message.
>>> >
>>>
>>> Please try try his patch:
>>>
>>> http://repo.or.cz/w/mingw-w64/jacek.git/commitdiff/6ef6839128c1c71fd72d6c492bfdec4a0ea3913e
>>>
>>> Jacek
>>>
>>
>>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public