[GCC-XML] FW: Issue including stl headers
Brad King
brad.king at kitware.com
Thu Dec 13 19:30:56 EST 2007
James Vecore wrote:
> All I did was the "#include <string>" to the sample on the website.
>
> This is the output I get from the cmdline is this:
>
>> \\Applications\Applications\gccxml\gccxml_0.9.0\x86\gccxml.exe --gccxml-compiler msvc8 "C:\Source.cpp" -fxml=c:\test.xml
[snip]
> C:/Dev/Microsoft Visual Studio 8/VC/include/string.h:136:188: error: macro "__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX" passed 10 arguments, but takes just 9
This is strange. My vs8sp1 install has 10 arguments in its definition
of that macro. It should be defined in crtdefs.h, which is one of the
files that is copied and patched by gccxml. Look in
//Applications/Applications/gccxml/gccxml_0.9.0/x86/Vc8/Include/crtdefs.h
for the definition of the macro. Compare it to that in
C:/Dev/Microsoft Visual Studio 8/VC/include/crtdefs.h
How many arguments to they take?
Also, look in the registry for the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\InstalledProducts
An entry for KB926601 should appear. This is sp1. Do any other KB*
entries appear? What is the value of their "(default)" entry?
-Brad
More information about the gccxml
mailing list