This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix compilation warnings triggered by Python's pyerrors.h
- From: asmwarrior <asmwarrior at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Mar 2013 13:15:56 +0800
- Subject: Re: Fix compilation warnings triggered by Python's pyerrors.h
- References: <83sj3zi216.fsf@gnu.org>
On 2013-3-14 2:32, Eli Zaretskii wrote:
> I get warnings like below compiling GDB 7.5.91 with MinGW:
>
> In file included from d:/usr/Python26/include/Python.h:120:0,
> from python/python-internal.h:50,
> from varobj.c:41:
> d:/usr/Python26/include/pyerrors.h:316:0: warning: "snprintf" redefined [enabled by default]
> In file included from ./common/gdb_locale.h:27:0,
> from defs.h:66,
> from varobj.c:18:
> d:\usr\bin\../lib/gcc/mingw32/4.7.2/../../../../include/libintl.h:353:0: note: this is the location of the previous definition
>
Glad to see you are going to fix this. In-fact, I have such issue for a long time. That's why I built GDB with "disable-nls" before.
Yuanhui Zhang