[xsd-users] compiler error

giuseppe ferrari giuseppe500 at yahoo.it
Mon Jul 22 12:48:06 EDT 2013


hello Boris.
i Have finished with the custom wrapper, but after two days of testI 
always gets the same error:
[code]
1>------ Build started: Project: dllIfc, Configuration: Debug Win32 ------
1>Build started 22/07/2013 06:14:04.
1>InitializeBuildStatus:
1>  Touching "Debug\dllIfc.unsuccessfulbuild".
1>ClCompile:
1>  ifc2x3.cxx
1>c:\ifc\codesynthesis xsd 
3.3\include\xsd\cxx\tree\type-serializer-map.txx(530): fatal error 
C1001: An internal error has occurred in the compiler.
1>  (compiler file 'msc1.cpp', line 1443)
1>   To work around this problem, try simplifying or changing the 
program near the locations listed above.
1>  Please choose the Technical Support command on the Visual C++
1>   Help menu, or open the Technical Support help file for more information
1>          c:\ifc\codesynthesis xsd 
3.3\include\xsd\cxx\tree\type-serializer-map.txx(542) : see reference to 
function template instantiation 'void 
xsd::cxx::tree::serializer_impl<T>(xercesc_3_1::DOMElement &,const 
xsd::cxx::tree::type &)' being compiled
1>          with
1>          [
1> T=ifcXML::IFC2x3::FINAL::base_IfcMotorConnectionType
1>          ]
1>          c:\ifc\codesynthesis xsd 
3.3\include\xsd\cxx\tree\type-serializer-map.txx(538) : while compiling 
class template member function 
'xsd::cxx::tree::type_serializer_initializer<id,C,T>::type_serializer_initializer(const 
C *,const C *)'
1>          with
1>          [
1>              id=0,
1>              C=char,
1> T=ifcXML::IFC2x3::FINAL::base_IfcMotorConnectionType
1>          ]
1>          c:\ifc\dllifc\ifc\ifc2x3.cxx(414448) : see reference to 
function template instantiation 
'xsd::cxx::tree::type_serializer_initializer<id,C,T>::type_serializer_initializer(const 
C *,const C *)' being compiled
1>          with
1>          [
1>              id=0,
1>              C=char,
1> T=ifcXML::IFC2x3::FINAL::base_IfcMotorConnectionType
1>          ]
1>          c:\ifc\dllifc\ifc\ifc2x3.cxx(414448) : see reference to 
class template instantiation 
'xsd::cxx::tree::type_serializer_initializer<id,C,T>' being compiled
1>          with
1>          [
1>              id=0,
1>              C=char,
1> T=ifcXML::IFC2x3::FINAL::base_IfcMotorConnectionType
1>          ]
1>
1>Build FAILED.
1>
1>Time Elapsed 00:06:57.48
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

[/code]
what can be?
I use visual studio 12 and this platform :Visual Studio 2012 (v110)


I have a huge source file of 20 MB (.cxx)may be that is too big?
I have 4 gb of ram and a 64 bit OS(windows 7 64 bit)
If i see the memory in the task manager there is  a rapid increase of 
the memory usage (4gb) after 6 minutes from the compilation start , and  
i get the error

thanks.


More information about the xsd-users mailing list