<?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 question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971594#M22907</link>
    <description>Sorry for this stupid question but I'm not familiar with C in this depth.&lt;BR /&gt;&lt;BR /&gt;This sniplet does NOT compile, and I don't know how to get around this.&lt;BR /&gt;&lt;BR /&gt;#include &lt;DESCRIP.H&gt;&lt;BR /&gt;int CgiLibVarByDesc (struct dsc$descriptor*, struct dsc$descriptor*, ...);&lt;BR /&gt;int BPS_CgiLibEnvironmentName (struct dsc$desriptor*) ;&lt;BR /&gt;&lt;BR /&gt;compilation gives a result as in the attachement.&lt;BR /&gt;My guess is that the use of "struct dsc$descriptor" in the first routine causes the problem, but how can I get around this so I can get rid of these errors?&lt;BR /&gt;&lt;/DESCRIP.H&gt;</description>
    <pubDate>Tue, 04 Apr 2006 06:52:08 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2006-04-04T06:52:08Z</dc:date>
    <item>
      <title>C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971594#M22907</link>
      <description>Sorry for this stupid question but I'm not familiar with C in this depth.&lt;BR /&gt;&lt;BR /&gt;This sniplet does NOT compile, and I don't know how to get around this.&lt;BR /&gt;&lt;BR /&gt;#include &lt;DESCRIP.H&gt;&lt;BR /&gt;int CgiLibVarByDesc (struct dsc$descriptor*, struct dsc$descriptor*, ...);&lt;BR /&gt;int BPS_CgiLibEnvironmentName (struct dsc$desriptor*) ;&lt;BR /&gt;&lt;BR /&gt;compilation gives a result as in the attachement.&lt;BR /&gt;My guess is that the use of "struct dsc$descriptor" in the first routine causes the problem, but how can I get around this so I can get rid of these errors?&lt;BR /&gt;&lt;/DESCRIP.H&gt;</description>
      <pubDate>Tue, 04 Apr 2006 06:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971594#M22907</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-04T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971595#M22908</link>
      <description>Is the &lt;BR /&gt;#include &lt;DESCRIP.H&gt;&lt;BR /&gt;&lt;BR /&gt;within a function ?&lt;BR /&gt;&lt;/DESCRIP.H&gt;</description>
      <pubDate>Tue, 04 Apr 2006 06:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971595#M22908</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-04-04T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971596#M22909</link>
      <description>No, in the top of the program (like in the sniplet - that one gave the listing)</description>
      <pubDate>Tue, 04 Apr 2006 07:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971596#M22909</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-04T07:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971597#M22910</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;In the prototype of BPS_CgiLibEnvironmentName, you specified "dsc$desriptor" instead of "dsc$descriptor". You've missed the character "c".&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Tue, 04 Apr 2006 07:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971597#M22910</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2006-04-04T07:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971598#M22911</link>
      <description>You need someone at hand, once in a while, to note this kind of so easily overlooked stupidities.&lt;BR /&gt;Oh well ....&lt;BR /&gt;(Why doesn't the compiler give a more descriptive message?)</description>
      <pubDate>Tue, 04 Apr 2006 07:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971598#M22911</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-04T07:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: C question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971599#M22912</link>
      <description>&amp;gt;&amp;gt;&amp;gt; Why doesn't the compiler give a more descriptive message?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That's a joke right?&lt;BR /&gt;&lt;BR /&gt;If not, please explain what the compiler could possibly have done better than pointing you to the EXACT SINGLE WORD which was incorrect.&lt;BR /&gt;1) Oh... maybe you wanted that '3' under the character where a typing error was made?&lt;BR /&gt;2) or... you wanted the compiler to report: "you wrote tets, but probably meant test"&lt;BR /&gt;&lt;BR /&gt;Without 'reading your mind' it seems to me the compiler was as helpful as it possibly could be.&lt;BR /&gt;&lt;BR /&gt;Groetjes,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Apr 2006 08:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-question/m-p/4971599#M22912</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-04-04T08:09:03Z</dc:date>
    </item>
  </channel>
</rss>

