Macro conflict in gdb/opencl-lang.c

Vladimir Simonov sv@sw.ru
Tue Feb 1 17:30:00 GMT 2011


Hi all,

gdb-weekly-CVS-7.2.50.20110125
gdb/opencl-lang.c
  1119: #define STRINGIFY(S) #S

Macro STRINGIFY conflicts with
mingw64 internal include:
include64/_mingw_mac.h
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/

#ifndef _INC_CRTDEFS_MACRO
#define _INC_CRTDEFS_MACRO

#define __STRINGIFY(x) #x
#define STRINGIFY(x) __STRINGIFY(x)

Could somebody having write access resolve this
in gdb/opencl-lang.c as obvious?

Regards
Vladimir Simonov



More information about the Gdb mailing list