I am trying to get GCC-XML to be able to process a large C++ code base on Windows. Things work very well on Linux and Mac OS X, but on Windows, I get an internal compiler error. I have built GCC-XML from the CVS HEAD sources as of yesterday, and I am using it to emulate Visual C++ 9.0 SP1. The error output is attached, and the preprocessed source can be found here:
http://www.infiscape.com/misc/output.cpp.bz2 Are there any tips for debugging something like this? In addition to the ICE, I am getting some unexpected errors about there not being an overload of operator<< for the std::setbase() case. I do not know if that is strictly a problem, but if there is a way to fix that, too, that would be great. Thanks in advance. -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/
Using "C:/p5/p5_deps/gccxml/install_win32_vc90/bin/gccxml_cc1plus.exe" as
GCC-XML executable.
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"
"-IC:\p5\p5_deps/zlib/install_win32_vc90/include"
"-IC:\p5\p5_deps\opensg2\install_win32_vc90\include"
"-IC:\p5\p5_deps\opensg2\install_win32_vc90\include\OpenSG"
"-DBOOST_PYTHON_MAX_ARITY=21"
"-DWIN32"
"-I."
"-Iosg_module"
"-IC:\p5\p5_deps\opensg2\install_win32_vc90\include"
"-IC:\p5\p5_deps\opensg2\install_win32_vc90\include\OpenSG"
"-IC:\p5\p5_deps\boost\install_win32_vc90\include\boost-1_37"
"-IC:\Python26\include"
"osg_module\osgmodule_mainheader.h"
"-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"
"-iwrapperC:/p5/p5_deps/gccxml/install_win32_vc90/share/gccxml-0.9/Vc9/Include"
"-iwrapperC:/p5/p5_deps/gccxml/install_win32_vc90/share/gccxml-0.9/Vc9/PlatformSDK"
"-IC:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include"
"-IC:/Program Files/Microsoft SDKs/Windows/v6.0A/Include"
In file included from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderParameterFields.h:42,
from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderProgramBase.h:72,
from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderProgram.h:45,
from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderExecutableChunk.h:46,
from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderCacheTree.h:49,
from
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderCache.h:50,
from osg_module\osgmodule_mainheader.h:76:
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderParameter.h:
In static member function 'static void OSG::FieldTraits<std::pair<unsigned int,
unsigned int>, 0>::putToStream(const OSG::ShaderParameter&, OSG::OutStream&)':
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderParameter.h:105:
error: no match for 'operator<<' in 'outStr << std::setbase(16)'
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:42:
note: candidates are: OSG::OutStream& OSG::OutStream::operator<<(long int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:50:
note: OSG::OutStream& OSG::OutStream::operator<<(long unsigned
int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:58:
note: OSG::OutStream& OSG::OutStream::operator<<(bool)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:66:
note: OSG::OutStream& OSG::OutStream::operator<<(char)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:74:
note: OSG::OutStream& OSG::OutStream::operator<<(short int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:82:
note: OSG::OutStream& OSG::OutStream::operator<<(short unsigned
int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:90:
note: OSG::OutStream& OSG::OutStream::operator<<(int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:98:
note: OSG::OutStream& OSG::OutStream::operator<<(unsigned int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:106:
note: OSG::OutStream& OSG::OutStream::operator<<(long long int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:114:
note: OSG::OutStream& OSG::OutStream::operator<<(long long
unsigned int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:122:
note: OSG::OutStream& OSG::OutStream::operator<<(double)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:130:
note: OSG::OutStream& OSG::OutStream::operator<<(float)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:138:
note: OSG::OutStream& OSG::OutStream::operator<<(long double)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.h:147:
note: OSG::OutStream& OSG::OutStream::operator<<(const
OSG::Fixed32&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:146:
note: OSG::OutStream& OSG::OutStream::operator<<(const void*)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:154:
note: OSG::OutStream& OSG::OutStream::operator<<(const char*)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:162:
note: OSG::OutStream& OSG::OutStream::operator<<(const
std::string&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:183:
note: OSG::OutStream&
OSG::OutStream::operator<<(std::_Smanip<Arg>&) [with Arg = int]
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:193:
note: OSG::OutStream& OSG::OutStream::operator<<(std::ostream&
(*)(std::ostream&))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:201:
note: virtual OSG::OutStream&
OSG::OutStream::operator<<(OSG::SetIndent)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:207:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_IncIndent))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:213:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_DecIndent))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:219:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_BeginElem))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:225:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_EndElem))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:231:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_EndElemNL))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGReal16.h:240: note:
std::ostream& OSG::operator<<(std::ostream&, OSG::Real16)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGFixed.inl:319: note:
std::ostream& OSG::operator<<(std::ostream&, OSG::Fixed32)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGException.h:124:
note: std::ostream& OSG::operator<<(std::ostream&, const
OSG::Exception&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGPlane.h:177: note:
std::ostream& OSG::operator<<(std::ostream&, const OSG::Plane&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGLine.h:166: note:
std::ostream& OSG::operator<<(std::ostream&, const OSG::Line&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGShaderParameter.h:108:
error: no match for 'operator<<' in 'outStr << std::setbase(10)'
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:42:
note: candidates are: OSG::OutStream& OSG::OutStream::operator<<(long int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:50:
note: OSG::OutStream& OSG::OutStream::operator<<(long unsigned
int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:58:
note: OSG::OutStream& OSG::OutStream::operator<<(bool)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:66:
note: OSG::OutStream& OSG::OutStream::operator<<(char)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:74:
note: OSG::OutStream& OSG::OutStream::operator<<(short int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:82:
note: OSG::OutStream& OSG::OutStream::operator<<(short unsigned
int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:90:
note: OSG::OutStream& OSG::OutStream::operator<<(int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:98:
note: OSG::OutStream& OSG::OutStream::operator<<(unsigned int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:106:
note: OSG::OutStream& OSG::OutStream::operator<<(long long int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:114:
note: OSG::OutStream& OSG::OutStream::operator<<(long long
unsigned int)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:122:
note: OSG::OutStream& OSG::OutStream::operator<<(double)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:130:
note: OSG::OutStream& OSG::OutStream::operator<<(float)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:138:
note: OSG::OutStream& OSG::OutStream::operator<<(long double)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.h:147:
note: OSG::OutStream& OSG::OutStream::operator<<(const
OSG::Fixed32&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:146:
note: OSG::OutStream& OSG::OutStream::operator<<(const void*)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:154:
note: OSG::OutStream& OSG::OutStream::operator<<(const char*)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:162:
note: OSG::OutStream& OSG::OutStream::operator<<(const
std::string&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:183:
note: OSG::OutStream&
OSG::OutStream::operator<<(std::_Smanip<Arg>&) [with Arg = int]
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:193:
note: OSG::OutStream& OSG::OutStream::operator<<(std::ostream&
(*)(std::ostream&))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:201:
note: virtual OSG::OutStream&
OSG::OutStream::operator<<(OSG::SetIndent)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:207:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_IncIndent))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:213:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_DecIndent))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:219:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_BeginElem))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:225:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_EndElem))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGIOStream.inl:231:
note: virtual OSG::OutStream& OSG::OutStream::operator<<(void
(*)(OSG::_EndElemNL))
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGReal16.h:240: note:
std::ostream& OSG::operator<<(std::ostream&, OSG::Real16)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGFixed.inl:319: note:
std::ostream& OSG::operator<<(std::ostream&, OSG::Fixed32)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGException.h:124:
note: std::ostream& OSG::operator<<(std::ostream&, const
OSG::Exception&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGPlane.h:177: note:
std::ostream& OSG::operator<<(std::ostream&, const OSG::Plane&)
C:/p5/p5_deps/opensg2/install_win32_vc90/include/OpenSG/OSGLine.h:166: note:
std::ostream& OSG::operator<<(std::ostream&, const OSG::Line&)
osg_module\osgmodule_mainheader.h: At global scope:
osg_module\osgmodule_mainheader.h:801: internal compiler error: in
maybe_emit_vtables, at cp\decl2.c:1521
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml
