This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix compilation warnings triggered by Python's pyerrors.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]