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: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Tue, 19 Mar 2013 14:13:56 -0700
- Subject: Re: Fix compilation warnings triggered by Python's pyerrors.h
- References: <83sj3zi216 dot fsf at gnu dot org> <87k3p97u3u dot fsf at fleche dot redhat dot com> <83sj3w4ti6 dot fsf at gnu dot org> <8338vt3kq6 dot fsf at gnu dot org>
> It worked, so I committed the below.
>
> Could someone please do me a favor and commit the same to the 7.6
> branch? TIA.
Done!
> 2013-03-17 Eli Zaretskii <eliz@gnu.org>
>
> * python/python-internal.h (HAVE_SNPRINTF)
> [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
> about redefinition of snprintf by pyerrors.h.
--
Joel