<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Porting VisualC++ to Compaq C++ in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/porting-visualc-to-compaq-c/m-p/3940789#M35404</link>
    <description>The Microsoft Visual C++ IDE is an integrated and core component of the Windows operating system and related environments; it's a powerful platform IDE; very far beyond what I would consider a compiler in the classic sense.  It's really quite good at generating Windows MSC++ code, and it has an impressively detailed knowledge of Windows and Windows APIs and fully integrates that into the generated MSC++ source code.&lt;BR /&gt;&lt;BR /&gt;As for other options, I've been porting across libxml2 libraries and related.  There's a libxml++ wrapper around, too.&lt;BR /&gt;&lt;BR /&gt;And for your question, I'd take a look at the codesynthesis xsd tool over at at &lt;A href="http://codesynthesis.com/products/xsd/" target="_blank"&gt;http://codesynthesis.com/products/xsd/&lt;/A&gt; -- I don't know that it has been ported.&lt;BR /&gt;&lt;BR /&gt;There's an XSD SDL tool around, too.  SDLXSD,  Not sure if that generates from or into SDL, but I'd take a look at that. SDL is the core API and data structure definition language for OpenVMS.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Feb 2007 11:17:38 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2007-02-08T11:17:38Z</dc:date>
    <item>
      <title>Porting VisualC++ to Compaq C++</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/porting-visualc-to-compaq-c/m-p/3940788#M35403</link>
      <description>I am looking at XML Bindings for C++ and have used XMLSpy to generate C++ code. Unfortunately it only generates MS Visual C++ that I can't get to compile on Compaq C++ V6.5-004 for OpenVMS Alpha V8.2.&lt;BR /&gt;&lt;BR /&gt;The compiler option /STANDARD=MS seems to handle the string handling (eg _T.. and _sntprintf) with  a version of tchar.h. &lt;BR /&gt;$cxx  ALTOVAEXCEPTION.CPP -&lt;BR /&gt; /STANDARD=MS -&lt;BR /&gt; /DEFINE=(HAVE_STRSTREAM) -&lt;BR /&gt; /INCLUDE=("CXX$USER_INCLUDE/","CXX$ALTOVA_INCLUDE/") &lt;BR /&gt;&lt;BR /&gt;However I get the following  error &lt;BR /&gt;#error "cannot include ostream -- define __USE_STD_IOSTREAM to override default &lt;BR /&gt;- see section 7.1.2 of the C++ Using Guide"&lt;BR /&gt;.^&lt;BR /&gt;%CXX-E-ERRDIRECTIVE, #error directive: "cannot include ostream -- define&lt;BR /&gt;          __USE_STD_IOSTREAM to override default - see section 7.1.2 of the&lt;BR /&gt;          C++ Using Guide"&lt;BR /&gt;at line number 58 in module OSTREAM. of text library SYS$COMMON:[SYSLIB]CXXL$ANS&lt;BR /&gt;I_DEF.TLB;1&lt;BR /&gt;&lt;BR /&gt;inline tostream&amp;amp; operator&amp;lt;&amp;lt;(tostream&amp;amp; os, CSchemaType&amp;amp; t)&lt;BR /&gt;.......^&lt;BR /&gt;%CXX-E-NOTMEMBER, namespace "std" has no member "ostream"&lt;BR /&gt;&lt;BR /&gt;But  the MS options uses the old iostream. If I use the std iostream as follows:&lt;BR /&gt;$cxx  ALTOVAEXCEPTION.CPP -&lt;BR /&gt; /STANDARD=MS -&lt;BR /&gt; /DEFINE=(__USE_STD_IOSTREAM,HAVE_STRSTREAM) -&lt;BR /&gt; /INCLUDE=("CXX$USER_INCLUDE/","CXX$ALTOVA_INCLUDE/") &lt;BR /&gt;&lt;BR /&gt;Then I get&lt;BR /&gt;#pragma do_not_instantiate std::istreambuf_iterator&lt;CHAR&gt;&lt;BR /&gt; &amp;gt; std::num_get&lt;CHAR&gt; &amp;gt; &amp;gt;:&lt;BR /&gt;:do_get(std::istreambuf_iterator&lt;CHAR&gt; &amp;gt;, std::istreambuf&lt;BR /&gt;_iterator&lt;CHAR&gt;&lt;/CHAR&gt;................................................................................&lt;BR /&gt;...^&lt;BR /&gt; std::char_traits&lt;CHAR&gt; &amp;gt;, std::ios_base &amp;amp;, int &amp;amp;, long long &amp;amp;) const&lt;BR /&gt;%CXX-E-NOMATTYPOVLFUN, no instance of overloaded function "std::num_get&lt;CHART&gt;&lt;/CHART&gt;          InputIterator&amp;gt;::do_get [with charT=char,&lt;BR /&gt;          InputIterator=std::istreambuf_iterator&lt;CHAR&gt;&lt;/CHAR&gt;          std::char_traits&lt;CHAR&gt;&amp;gt;]" matches the specified type&lt;BR /&gt;at line number 617 in module NUMERAL. of text library SYS$COMMON:[SYSLIB]CXXL$AN&lt;BR /&gt;SI_DEF.TLB;1&lt;BR /&gt;&lt;BR /&gt;Am I missing something. Or is it going to be easier to rewrite the original code to strip out the MS extensions?&lt;BR /&gt;&lt;BR /&gt;Alternatively is there a simple XML binding compiler available?&lt;BR /&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;</description>
      <pubDate>Thu, 08 Feb 2007 04:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/porting-visualc-to-compaq-c/m-p/3940788#M35403</guid>
      <dc:creator>P R Stone_1</dc:creator>
      <dc:date>2007-02-08T04:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Porting VisualC++ to Compaq C++</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/porting-visualc-to-compaq-c/m-p/3940789#M35404</link>
      <description>The Microsoft Visual C++ IDE is an integrated and core component of the Windows operating system and related environments; it's a powerful platform IDE; very far beyond what I would consider a compiler in the classic sense.  It's really quite good at generating Windows MSC++ code, and it has an impressively detailed knowledge of Windows and Windows APIs and fully integrates that into the generated MSC++ source code.&lt;BR /&gt;&lt;BR /&gt;As for other options, I've been porting across libxml2 libraries and related.  There's a libxml++ wrapper around, too.&lt;BR /&gt;&lt;BR /&gt;And for your question, I'd take a look at the codesynthesis xsd tool over at at &lt;A href="http://codesynthesis.com/products/xsd/" target="_blank"&gt;http://codesynthesis.com/products/xsd/&lt;/A&gt; -- I don't know that it has been ported.&lt;BR /&gt;&lt;BR /&gt;There's an XSD SDL tool around, too.  SDLXSD,  Not sure if that generates from or into SDL, but I'd take a look at that. SDL is the core API and data structure definition language for OpenVMS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2007 11:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/porting-visualc-to-compaq-c/m-p/3940789#M35404</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-08T11:17:38Z</dc:date>
    </item>
  </channel>
</rss>

