[GCC-XML] Problems with GCCXML 0.9, VC9 and debug mode

BOURGAU Philippe Philippe.BOURGAU at murex.com
Mon May 18 12:17:06 EDT 2009


Here it is,

In fact I had to patch the patched files ... there were not working with the debug flags.

Philippe


GCC-XML version 0.9.0
Configuration settings:
  GCCXML_CONFIG="D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/share/gccxml-0.9/gccxml_config"
  GCCXML_COMPILER="msvc9"
  GCCXML_CXXFLAGS=" /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR"
  GCCXML_EXECUTABLE="D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/bin/gccxml_cc1plus.exe"
  GCCXML_CPP="D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/bin/gccxml_cc1plus.exe"
  GCCXML_FLAGS="-U__STDC__ -U__STDC_HOSTED__ -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__fastcall=__attribute__((__fastcall__)) -D__thiscall=__attribute__((__thiscall__)) -D_stdcall=__attribute__((__stdcall__)) -D_cdecl=__attribute__((__cdecl__)) -D_fastcall=__attribute__((__fastcall__)) -D_thiscall=__attribute__((__thiscall__)) -D__declspec(x)=__attribute__((x)) -D__pragma(x)= -D__cplusplus -D_inline=inline -D__forceinline=__inline -D_MSC_VER=1500 -D_MSC_EXTENSIONS -D_WIN32 -D_M_IX86 -D_WCHAR_T_DEFINED -DPASCAL= -DRPC_ENTRY= -DSHSTDAPI=HRESULT -D_INTEGRAL_MAX_BITS=64 -D__uuidof(x)=IID() -DSHSTDAPI_(x)=x -D__w64= -D__int8=char -D__int16=short -D__int32=int -D__int64="long long" -D__ptr64= -DSTRSAFE_NO_DEPRECATE -D_CRT_FAR_MAPPINGS_NO_DEPRECATE -D_CRT_MANAGED_FP_NO_DEPRECATE -D_CRT_MANAGED_HEAP_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_OBSOLETE_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE_GLOBALS -D_CRT_VCCLRIT_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_WINDOWS_SECURE_NO_DEPRECATE -iwrapper"D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/share/gccxml-0.9/Vc9/Include" -iwrapper"D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/share/gccxml-0.9/Vc9/PlatformSDK" -I"D:/Program Files/Microsoft Visual Studio 9.0/VC/include" -I"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include" "
  GCCXML_USER_FLAGS=""
  GCCXML_ROOT="D:/thirdparty/all/gccxml/dev/0.9-build-vc9/dist/share/gccxml-0.9"

-----Message d'origine-----
De : Brad King [mailto:brad.king at kitware.com] 
Envoyé : lundi 18 mai 2009 18:12
À : BOURGAU Philippe
Cc : gccxml at gccxml.org
Objet : Re: [GCC-XML] Problems with GCCXML 0.9, VC9 and debug mode

BOURGAU Philippe wrote:
> We are using GCC XML 0.9 with visual studio 9.0.21022.8 RTM.
> 
> Running gcc-xml with the release flags was ok, but we had problems with 
> debug flags. I finally made it work by patching the include files:

GCC-XML comes with patches for VS header files.  There should be a 'Vc9'
directory in the build (and install) tree which contains patched copies.

What is the output of the command

   gccxml --gccxml-compiler msvc9 --print

?

-Brad



More information about the gccxml mailing list