This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Rename STRINGIFY (Re: Macro conflict in gdb/opencl-lang.c)
- From: Vladimir Simonov <sv at sw dot ru>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>, gdb-patches at sourceware dot org, gdb at sourceware dot org
- Date: Wed, 02 Feb 2011 17:39:33 +0300
- Subject: Re: [commit] Rename STRINGIFY (Re: Macro conflict in gdb/opencl-lang.c)
- References: <4D483FE0.70700@sw.ru> <201102021349.p12DnnJl016545@d06av02.portsmouth.uk.ibm.com> <20110202140722.GJ2384@adacore.com>
On 02/02/2011 05:07 PM, Joel Brobecker wrote:
Macro STRINGIFY conflicts with
mingw64 internal include:
That's a bit unfortunate, such includes shouldn't really
intrude on the user namespace ...
What I don't understand is why I am not seeing the problem...
I've just successfully rebuilt GDB on x64 Windows, and the include
in question does have the STRINGIFY macro.
ChangeLog:
* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
(BUILD_OCL_VTYPES): Update.
Thanks for taking care of the problem, though.
Looks like my mingw a bit old - mingw-w64-snapshot-20090419
The current one doesn't have a problem:
mingw-w64-v1.0-20101003/mingw-w64-headers/include/ChangeLog
2009-12-04 Jonathan Yong <jon_y@users.sourceforge.net>
* _mingw_mac.h (STRINGIFY): Rename to __MINGW64_STRINGIFY
(__MINGW64_VERSION_STR): Use __MINGW64_STRINGIFY
Ulrich, thank you for fix.
Best regards
Vladimir Simonov