<?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: CXX thinks CRTL version is older than CC does in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622213#M32724</link>
    <description>Thanks, everybody.  That last one looks like a definitive answer to me.  Back to fighting with Windows and UNIX now.  :-)&lt;BR /&gt;&lt;BR /&gt;--Travis&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Sep 2005 15:39:07 GMT</pubDate>
    <dc:creator>Travis Craig</dc:creator>
    <dc:date>2005-09-12T15:39:07Z</dc:date>
    <item>
      <title>CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622205#M32716</link>
      <description>I have an OpenVMS V7.3-1 system on which CC thinks __CRTL_VER is &lt;BR /&gt;70312000 &lt;BR /&gt;and CXX thinks it is &lt;BR /&gt;70310022&lt;BR /&gt;&lt;BR /&gt;I'm trying to use the snprintf() and vsnprintf() functions and stdio.h makes them visible only if __CRTL_VER is &amp;gt;=70312000.&lt;BR /&gt;&lt;BR /&gt;So, they are visible to CC, but not CXX, on the same machine with the same C run-time library.  Has anybody encountered this and do you know how to fix it?  I tried the VMS731_ACRTL_V0400 patch, but that made no difference.  Is there a compiler patch?  I haven't run into those.  I have:&lt;BR /&gt;&lt;BR /&gt;CC V6.5-001&lt;BR /&gt;CXX V6.5-004&lt;BR /&gt;&lt;BR /&gt;My uses of the function are, of course, in some C++ modules.&lt;BR /&gt;&lt;BR /&gt;--Travis Craig&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Sep 2005 19:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622205#M32716</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2005-09-08T19:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622206#M32717</link>
      <description>Our CXX compiler has the version:&lt;BR /&gt;&lt;BR /&gt;Compaq C++ V6.5-039 for OpenVMS Alpha V8.2&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Fri, 09 Sep 2005 01:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622206#M32717</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-09-09T01:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622207#M32718</link>
      <description>Just a thought but - Did you install C before or after C++ and have you installed any CRTL patches?&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Sep 2005 03:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622207#M32718</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-09T03:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622208#M32719</link>
      <description>Just a guess : show log *crtl*.&lt;BR /&gt;2 logicals to different files ?&lt;BR /&gt;&lt;BR /&gt;WIm</description>
      <pubDate>Fri, 09 Sep 2005 04:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622208#M32719</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-09T04:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622209#M32720</link>
      <description>Thanks, everybody, for the replies.&lt;BR /&gt;&lt;BR /&gt;It looks like CC was installed (moments) after CXX.  Does order matter?&lt;BR /&gt;&lt;BR /&gt;When you say "CRTL patches," Ian, do you mean the ones like VMS731_ACRTL_V0400 (which I installed), or some other ones for the compilers themselves?  I haven't been able to find any patches for compilers mentioned online.  Maybe it's time to go down and look at the layered product disks.&lt;BR /&gt;&lt;BR /&gt;I see no suspicious looking logical names, none that look related to compiler or library versions.&lt;BR /&gt;&lt;BR /&gt;--Travis&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Sep 2005 15:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622209#M32720</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2005-09-09T15:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622210#M32721</link>
      <description>Yes CRTL patches like that one. &lt;BR /&gt; I don't know how the compilers determines the CRTL version.</description>
      <pubDate>Mon, 12 Sep 2005 05:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622210#M32721</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-12T05:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622211#M32722</link>
      <description>Travis,&lt;BR /&gt;&lt;BR /&gt;I got the same phenomenon on our development cluster (VMS 7.3-1, CC V6.5-001, CXX V6.5-004).&lt;BR /&gt;However, I've included a small program that not only uses __CRTL_VER but also DECC$$GL___CRTL_VER. Please compile it with both CC and CXX, and mark the difference.&lt;BR /&gt;Here the version compiled with CC, prints the same value for __CRTL_VER and DECC$$GL___CRTL_VER. If compiled with CXX, the values differ. It seems that the global longword DECC$$GL___CRTL_VER is defined in SYS$SHARE:DECC$CRTL.EXE, and for CC has the same value as __CRTL_VER. Unfortunately this is not the case for CXX.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Mon, 12 Sep 2005 05:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622211#M32722</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-09-12T05:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622212#M32723</link>
      <description>Hi Travis,&lt;BR /&gt;Back again. Please have a look at the file SYS$SHARE:DECC$CRTL.README. It says somewhere&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The default value assigned to the predefined macro __CRTL_VER differs between Compaq C and Compaq C++. Compaq C will default __CRTL_VER to the value found within the DECC$CRTL.EXE name mapping table. Compaq C++ does not examine this value with the shareable image. Compaq C++ defaults __CRTL_VER to the same value as __VMS_VER.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;So, I think you better compile your C++ sources with /DEFINE=__CRTL_VER=70312000 (the value found in DECC$CRTL.EXE).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Sep 2005 06:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622212#M32723</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-09-12T06:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: CXX thinks CRTL version is older than CC does</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622213#M32724</link>
      <description>Thanks, everybody.  That last one looks like a definitive answer to me.  Back to fighting with Windows and UNIX now.  :-)&lt;BR /&gt;&lt;BR /&gt;--Travis&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Sep 2005 15:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cxx-thinks-crtl-version-is-older-than-cc-does/m-p/3622213#M32724</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2005-09-12T15:39:07Z</dc:date>
    </item>
  </channel>
</rss>

