[GCC-XML] GCCXML 0.9.0 with MSVC8 question

Poola, Suresh suresh.poola at wachovia.com
Tue May 27 15:25:32 EDT 2008


Did you try 
The following
J:\cmsShow21>J:/gccxml/temp/debug/gccxml.exe  -D__REFLEX__ --debug
CLHEP/src/classes.h -fxml=temp.xml

-----Original Message-----
From: gccxml-bounces at gccxml.org [mailto:gccxml-bounces at gccxml.org] On
Behalf Of Julian Bunn
Sent: Tuesday, May 27, 2008 3:18 PM
To: gccxml at gccxml.org
Subject: [GCC-XML] GCCXML 0.9.0 with MSVC8 question

I checked out and have built gccxml from source using VS2005/MSVC8
without problem.

Now I am attempting to process a .h file, and am getting an error I
don't understand, namely "The parameter is incorrect". I suspect I have
screwed something up in the configuration.

Here is the result in detail

J:\cmsShow21>J:/gccxml/temp/debug/gccxml.exe  CLHEP/src/classes.h
-fxml=temp.xml -D__REFLEX__ --debug
Using "J:/gccxml/temp/debug/gccxml.exe" as GCC-XML executable.
Using the following arguments to GCC-XML executable:
   "-quiet"
   "-fsyntax-only"
   "-w"
   "-I-"
   "-o"
   "NUL"
   "-nostdinc"
   "-undef"
   "-D__GCCXML__=900"
   "-D__GCCXML_GNUC__=4"
   "-D__GCCXML_GNUC_MINOR__=2"
   "-D__GCCXML_GNUC_PATCHLEVEL__=1"
   "CLHEP/src/classes.h"
   "-fxml=temp.xml"
   "-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=1400"
   "-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"
   "-IJ:/gccxml/temp/Support/Vc8/Include"
   "-IJ:/gccxml/temp/Support/Vc8/PlatformSDK"
   "-IC:/Program Files/Microsoft Visual Studio 8/VC/include"
   "-IC:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include"
Error: Could not run J:/gccxml/temp/debug/gccxml.exe:
The parameter is incorrect

Could somebody suggest what I may have wrong? Which parameter is
incorrect?

Thanks!
Julian



More information about the gccxml mailing list