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

BOURGAU Philippe Philippe.BOURGAU at murex.com
Tue May 19 03:06:51 EDT 2009


Here it is

We are using GCC-Xml through Reflex, so we are only parsing the header files.

Using the following arguments to GCC-XML executable:
  "-quiet"
  "-fsyntax-only"
  "-w"
  "-o"
  "NUL"
  "-nostdinc"
  "-undef"
  "-D__GCCXML__=900"
  "-D__GCCXML_GNUC__=4"
  "-D__GCCXML_GNUC_MINOR__=2"
  "-D__GCCXML_GNUC_PATCHLEVEL__=1"
  "D:/applicationbuilder/versions/standalone.bis/lib/tests/murex/reflex/Annotation.hpp"
  "-fxml=D:/applicationbuilder/versions/standalone.bis/lib/tests/murex/reflex/reflex\Annotation.xml"
  "-D_DEBUG"
  "-DWIN32"
  "-D_WINDOWS"
  "-D__MICROSOFTC__"
  "-D_CRT_SECURE_NO_WARNINGS"
  "-Id:/v3.1.build"
  "-ID:/applicationbuilder/versions/standalone.bis"
  "-Id:/thirdparty/win32/x86/vc9/mt/cppunit/1.12.1/include"
  "-ID:/applicationbuilder/versions/standalone.bis/thirdparty/reflex/inc"
  "-Id:/thirdparty/win32/x86/vc9/mt-gd/boost/1.38/include"
  "-D__REFLEX__"
  "-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"
  "-iwrapperD:/applicationbuilder/thirdparty/win32/x86/vc9/mt/gccxml/dev/share/gccxml-0.9/Vc9/Include"
  "-iwrapperD:/applicationbuilder/thirdparty/win32/x86/vc9/mt/gccxml/dev/share/gccxml-0.9/Vc9/PlatformSDK"
  "-ID:/Program Files/Microsoft Visual Studio 9.0/VC/include"
  "-IC:/Program Files/Microsoft SDKs/Windows/v6.0A/Include"


Thank you,

Philippe

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

BOURGAU Philippe wrote:
> Here it is,
> 
> In fact I had to patch the patched files ... there were not working with the debug flags.

Ah, okay.  Can you please send an input (.cxx) file that hits this
problem so I can reproduce it?  Then I can recreate the patches to
include the necessary changes.

Thanks,
-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Annotation.hpp
Type: application/octet-stream
Size: 817 bytes
Desc: Annotation.hpp
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20090519/10278085/attachment-0002.obj>


More information about the gccxml mailing list