<?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 C++ Template with string -&amp;gt; Compiler problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019367#M37861</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm Martin.&lt;BR /&gt;We are experiencing a compiler error with the following c++ line:&lt;BR /&gt;&lt;BR /&gt;properties = new map&lt;STRING&gt;; &lt;BR /&gt;&lt;BR /&gt;properties is declared in the header as:&lt;BR /&gt;void*   properties;&lt;BR /&gt;&lt;BR /&gt;The funny thing now is, with our test-account it works, it compiles without any problems. Then there was a productive-account established and with that new account it does not compile with the errors attached in the txt-file. All on the same machine with the same compiler.&lt;BR /&gt;&lt;BR /&gt;So we are using the C++ Standard Template in some other files too. There are no errors except we are using the Template with string (&lt;STRING&gt;).&lt;BR /&gt;&lt;BR /&gt;The accounts have been compared and are similar now (it seems). But still that compile error resists in the productive account.&lt;BR /&gt;&lt;BR /&gt;Can it only be a permission problem of the users or what code issues can produce such a scenario ??&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance !&lt;BR /&gt;&lt;BR /&gt;greets&lt;BR /&gt;Martin&lt;/STRING&gt;&lt;/STRING&gt;</description>
    <pubDate>Wed, 13 Jun 2007 11:02:04 GMT</pubDate>
    <dc:creator>Martin Krüger</dc:creator>
    <dc:date>2007-06-13T11:02:04Z</dc:date>
    <item>
      <title>C++ Template with string -&gt; Compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019367#M37861</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm Martin.&lt;BR /&gt;We are experiencing a compiler error with the following c++ line:&lt;BR /&gt;&lt;BR /&gt;properties = new map&lt;STRING&gt;; &lt;BR /&gt;&lt;BR /&gt;properties is declared in the header as:&lt;BR /&gt;void*   properties;&lt;BR /&gt;&lt;BR /&gt;The funny thing now is, with our test-account it works, it compiles without any problems. Then there was a productive-account established and with that new account it does not compile with the errors attached in the txt-file. All on the same machine with the same compiler.&lt;BR /&gt;&lt;BR /&gt;So we are using the C++ Standard Template in some other files too. There are no errors except we are using the Template with string (&lt;STRING&gt;).&lt;BR /&gt;&lt;BR /&gt;The accounts have been compared and are similar now (it seems). But still that compile error resists in the productive account.&lt;BR /&gt;&lt;BR /&gt;Can it only be a permission problem of the users or what code issues can produce such a scenario ??&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance !&lt;BR /&gt;&lt;BR /&gt;greets&lt;BR /&gt;Martin&lt;/STRING&gt;&lt;/STRING&gt;</description>
      <pubDate>Wed, 13 Jun 2007 11:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019367#M37861</guid>
      <dc:creator>Martin Krüger</dc:creator>
      <dc:date>2007-06-13T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: C++ Template with string -&gt; Compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019368#M37862</link>
      <description>I suggest a deeper comparison of the test environment with the production environment.  For example, compare the section labeled "Command Line" near the end of the listing file and make sure all the same compiler options are being used in both places.  Compare the values of relevant logical names such as SRV$COPYLIB.  Add /SHOW=INCLUDE to the compiler options and compare the listings to see if they are really getting the same versions of the same include files.</description>
      <pubDate>Wed, 13 Jun 2007 12:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019368#M37862</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2007-06-13T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: C++ Template with string -&gt; Compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019369#M37863</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;so now I excluded the specific macro in a test program (attached) and then it was tried to compile on these different accounts.&lt;BR /&gt;&lt;BR /&gt;I attach the listing files too.&lt;BR /&gt;But I can not find a difference between these accounts refering the compiling.&lt;BR /&gt;&lt;BR /&gt;For the account srv_test it works, for the account csmprod it fails.&lt;BR /&gt;&lt;BR /&gt;Attached (files.zip)&lt;BR /&gt;--------------------&lt;BR /&gt;program:&lt;BR /&gt;test_string.h, test_string.cpp&lt;BR /&gt;&lt;BR /&gt;listing files from compiler:&lt;BR /&gt;test_csmprod.lis, test_srvtest.lis&lt;BR /&gt;&lt;BR /&gt;greets&lt;BR /&gt;Martin</description>
      <pubDate>Wed, 20 Jun 2007 06:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019369#M37863</guid>
      <dc:creator>Martin Krüger</dc:creator>
      <dc:date>2007-06-20T06:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: C++ Template with string -&gt; Compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019370#M37864</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;Your include path is different and as a result you pick up the wrong (a different) file in &lt;BR /&gt;&lt;BR /&gt; include &lt;STRING&gt;&lt;BR /&gt;&lt;BR /&gt;May be others too.&lt;BR /&gt;&lt;BR /&gt;I would first try in prod with the same /include as in test to see if it this (alone) is the problem. Then check the files in test subdirectory.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;/STRING&gt;</description>
      <pubDate>Wed, 20 Jun 2007 06:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-template-with-string-gt-compiler-problem/m-p/4019370#M37864</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-06-20T06:56:00Z</dc:date>
    </item>
  </channel>
</rss>

