<?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: CC-W-NOTINCRTL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278494#M41444</link>
    <description>An alternative way to fiddle with the prefix is to do something like:&lt;BR /&gt;&lt;BR /&gt;#pragma extern_prefix save&lt;BR /&gt;#pragma extern_prefix "bills_personal_" (round)&lt;BR /&gt;double round (double a);&lt;BR /&gt;#pragma extern_prefix restore&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Apr 2011 02:14:30 GMT</pubDate>
    <dc:creator>Craig A Berry</dc:creator>
    <dc:date>2011-04-04T02:14:30Z</dc:date>
    <item>
      <title>CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278490#M41440</link>
      <description>Ok, it has been a while since I have delved into "C" on OpenVMS, but having plunged in I get:&lt;BR /&gt;&lt;BR /&gt;double round (double a)&lt;BR /&gt;.......^&lt;BR /&gt;%CC-W-NOTINCRTL, Identifier "round" is reserved by the C99 standard and will be mapped to "MATH$ROUND_T" although it is not available in the CRTL available to the compiler.&lt;BR /&gt;&lt;BR /&gt;Now, while this is an interesting warning, if I do not have the function "round" defined in my code then it comes up an UNDEFINED SYMBOL in the LINK.  So, to me, this is not really a warning but an error...&lt;BR /&gt;&lt;BR /&gt;I am correct in thinking that if I have it defined properly with a substitute function that this will then work as expected?&lt;BR /&gt;&lt;BR /&gt;I also note that CC-W-NOTINCRTL is not defined in the HELP/MESSAGE NOTINCRTL facility.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bill.&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Apr 2011 23:52:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278490#M41440</guid>
      <dc:creator>Bill Pedersen</dc:creator>
      <dc:date>2011-04-03T23:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278491#M41441</link>
      <description>The round() function name is a reserved function in C99, and the HP C compiler implements some of C99, while the RTL doesn't.&lt;BR /&gt;&lt;BR /&gt;As for the error...&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;$ help cc message NOTINCRTL&lt;BR /&gt;&lt;BR /&gt;CC&lt;BR /&gt;&lt;BR /&gt;  Messages&lt;BR /&gt;&lt;BR /&gt;    NOTINCRTL&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      Message        Identifier "&lt;ID&gt;" is reserved by the&lt;BR /&gt;                     &lt;C89&gt; standard and will be mapped to&lt;BR /&gt;                     "&lt;NAME&gt;" although it is not available in the CRTL&lt;BR /&gt;                     available to the compiler.&lt;BR /&gt;&lt;BR /&gt;      Description    The specified identifier is reserved for use as an&lt;BR /&gt;                     identifer with external lingage in the specified&lt;BR /&gt;                     version of the C standard.  But according to the CRTL&lt;BR /&gt;                     mapping table available to the compiler, that&lt;BR /&gt;                     identifier is not defined in the CRTL you expect to&lt;BR /&gt;                     link against.  This may be because the function or&lt;BR /&gt;                     object is not yet implemented in the current&lt;BR /&gt;                     DECC$SHR, or because you have used logical&lt;BR /&gt;                     DECC$CRTLMAP to specify a CRTL mapping table for a&lt;BR /&gt;                     version of the CRTL that does not implement it.&lt;BR /&gt;&lt;BR /&gt;      User Action    If you intended to use the identifier as defined by&lt;BR /&gt;                     the C standard, and you have not defined the logical&lt;BR /&gt;                     DECC$CRTLMAP, then the identifier is not defined in&lt;BR /&gt;                     the DECC$SHR available to the compiler.  If this is&lt;BR /&gt;                     the latest released DECC$SHR, then the identifier is&lt;BR /&gt;                     not yet implemented and you need to consider&lt;BR /&gt;                     workarounds; otherwise you should upgrade to the&lt;BR /&gt;                     latest available CRTL that does implement it.  If you&lt;BR /&gt;                     did not intend to use the identifier as defined by&lt;BR /&gt;                     the C standard (i.e.  it is an identifier you&lt;BR /&gt;                     expected to be defined by your application), then you&lt;BR /&gt;                     have a name clash with the specified version of the&lt;BR /&gt;                     standard and you should change the spelling of the&lt;BR /&gt;                     identifier; alternatively, you could disable&lt;BR /&gt;                     prefixing for it using /PREFIX=EXCEPT=, or specify an&lt;BR /&gt;                     older version of the standard with either /PREFIX= or&lt;BR /&gt;                     /STANDARD=.&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(Odd, too, that the message file references C2010, and that's also called C1X, and it's not ready quite yet.)&lt;/NAME&gt;&lt;/C89&gt;&lt;/ID&gt;</description>
      <pubDate>Mon, 04 Apr 2011 00:16:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278491#M41441</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-04T00:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278492#M41442</link>
      <description>Thanks, Hoff!&lt;BR /&gt;&lt;BR /&gt;I will run with this information.&lt;BR /&gt;&lt;BR /&gt;Bill.</description>
      <pubDate>Mon, 04 Apr 2011 01:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278492#M41442</guid>
      <dc:creator>Bill Pedersen</dc:creator>
      <dc:date>2011-04-04T01:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278493#M41443</link>
      <description>Hoff's response should close this out.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bill.</description>
      <pubDate>Mon, 04 Apr 2011 01:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278493#M41443</guid>
      <dc:creator>Bill Pedersen</dc:creator>
      <dc:date>2011-04-04T01:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278494#M41444</link>
      <description>An alternative way to fiddle with the prefix is to do something like:&lt;BR /&gt;&lt;BR /&gt;#pragma extern_prefix save&lt;BR /&gt;#pragma extern_prefix "bills_personal_" (round)&lt;BR /&gt;double round (double a);&lt;BR /&gt;#pragma extern_prefix restore&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2011 02:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278494#M41444</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2011-04-04T02:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: CC-W-NOTINCRTL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278495#M41445</link>
      <description>&lt;!--!*#--&gt;DPML does not have MATH$ROUND_x function but has MATH$LROUND_x functions (x is a floating point format indicator). lround(), which maps to MATH$LROUND_x, is listed in the C RTL entries table and, therefore, does not trigger the %CC-W-NOTINCRTL warning.&lt;BR /&gt;&lt;BR /&gt;Depending on what you need, you may consider using lround().&lt;BR /&gt;&lt;BR /&gt;-Boris</description>
      <pubDate>Mon, 04 Apr 2011 14:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cc-w-notincrtl/m-p/5278495#M41445</guid>
      <dc:creator>WW304289</dc:creator>
      <dc:date>2011-04-04T14:01:11Z</dc:date>
    </item>
  </channel>
</rss>

