From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19057 invoked by alias); 2 Feb 2011 14:59:06 -0000 Received: (qmail 19036 invoked by uid 22791); 2 Feb 2011 14:59:04 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.apical.co.uk (HELO srv1.office.apical.co.uk) (213.106.251.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 14:58:54 +0000 Received: from [10.250.148.115] (23.nat.acronis.net [91.195.22.23]) (authenticated bits=0) by srv1.office.apical.co.uk (8.14.4/8.14.4) with ESMTP id p12ErQxL012542 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 2 Feb 2011 14:53:28 GMT Message-ID: <4D496CA5.9070800@sw.ru> Date: Wed, 02 Feb 2011 14:59:00 -0000 From: Vladimir Simonov User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: Joel Brobecker CC: Ulrich Weigand , gdb-patches@sourceware.org, gdb@sourceware.org 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> In-Reply-To: <20110202140722.GJ2384@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00016.txt.bz2 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 * _mingw_mac.h (STRINGIFY): Rename to __MINGW64_STRINGIFY (__MINGW64_VERSION_STR): Use __MINGW64_STRINGIFY Ulrich, thank you for fix. Best regards Vladimir Simonov