<?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: gethostbyname failed compiling with 64bit mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368047#M535089</link>
    <description>&amp;gt;You need to compile with +wlint and +w64bit and fix any warnings.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Some of the networking length parms are changed to pointers to 64 bit&lt;BR /&gt;&amp;gt;integers. Also look for casts to suppress any warnings in this&lt;BR /&gt;&amp;gt;area. This would hide the problems.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;I will try with above option, and fixed warnings.&lt;BR /&gt;&lt;BR /&gt;If you know, please tell me...&lt;BR /&gt;&lt;BR /&gt;Excepting lint, Is there any tools which check above patternï¼ &lt;BR /&gt;"HP STK tools" can check thems?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 27 Feb 2009 09:25:21 GMT</pubDate>
    <dc:creator>阿江 孝士</dc:creator>
    <dc:date>2009-02-27T09:25:21Z</dc:date>
    <item>
      <title>gethostbyname failed compiling with 64bit mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368045#M535087</link>
      <description>Hi.(I'm sorry, I can't write english well.)&lt;BR /&gt;&lt;BR /&gt;I try to port 32bit C application &lt;BR /&gt;to 64bit C application.&lt;BR /&gt;&lt;BR /&gt; My environment.&lt;BR /&gt;  OS: "HP-UX eai-psv2 B.11.23 U ia64".&lt;BR /&gt;  compiler: "cc: HP C/aC++ B3910B A.06.17"&lt;BR /&gt;&lt;BR /&gt; When compiling with 32bit mode,&lt;BR /&gt; gethostbyname () normal end.&lt;BR /&gt; But compiling with 64bit mode(+DD64),&lt;BR /&gt; gethostbyname () failed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When calling gethostbyname () from mini program,&lt;BR /&gt;compiling 64bit mode,it end normal.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please tell me how to recover.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 27 Feb 2009 07:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368045#M535087</guid>
      <dc:creator>阿江 孝士</dc:creator>
      <dc:date>2009-02-27T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: gethostbyname failed compiling with 64bit mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368046#M535088</link>
      <description>&amp;gt;But compiling with 64bit mode (+DD64), gethostbyname failed.&lt;BR /&gt;&amp;gt;When calling gethostbyname from mini program,&lt;BR /&gt;compiling 64bit mode, it end normal.&lt;BR /&gt;&lt;BR /&gt;You need to compile with +wlint and +w64bit and fix any warnings.&lt;BR /&gt;&lt;BR /&gt;Some of the networking length parms are changed to pointers to 64 bit integers.  Also look for casts to suppress any warnings in this area.  This would hide the problems.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2009 08:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368046#M535088</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-27T08:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: gethostbyname failed compiling with 64bit mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368047#M535089</link>
      <description>&amp;gt;You need to compile with +wlint and +w64bit and fix any warnings.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Some of the networking length parms are changed to pointers to 64 bit&lt;BR /&gt;&amp;gt;integers. Also look for casts to suppress any warnings in this&lt;BR /&gt;&amp;gt;area. This would hide the problems.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;I will try with above option, and fixed warnings.&lt;BR /&gt;&lt;BR /&gt;If you know, please tell me...&lt;BR /&gt;&lt;BR /&gt;Excepting lint, Is there any tools which check above patternï¼ &lt;BR /&gt;"HP STK tools" can check thems?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 27 Feb 2009 09:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368047#M535089</guid>
      <dc:creator>阿江 孝士</dc:creator>
      <dc:date>2009-02-27T09:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: gethostbyname failed compiling with 64bit mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368048#M535090</link>
      <description>&amp;gt;&amp;gt;You need to compile with +wlint and +w64bit and fix any warnings.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Some of the networking length parms are changed to pointers to 64 bit&lt;BR /&gt;&amp;gt;&amp;gt;integers. Also look for casts to suppress any warnings in this&lt;BR /&gt;&amp;gt;&amp;gt;area. This would hide the problems.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Thanks.&lt;BR /&gt;&amp;gt;I will try with above option, and fixed warnings.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;If you know, please tell me...&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Excepting lint, Is there any tools which check above patterni??&lt;BR /&gt;&amp;gt;"HP STK tools" can check thems?&lt;BR /&gt;&lt;BR /&gt;I'm sorry, STK site is here.&lt;BR /&gt; &lt;BR /&gt; &lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=965fe820bcd45110VgnVCM100000275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=965fe820bcd45110VgnVCM100000275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2009 09:29:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368048#M535090</guid>
      <dc:creator>阿江 孝士</dc:creator>
      <dc:date>2009-02-27T09:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: gethostbyname failed compiling with 64bit mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368049#M535091</link>
      <description>&amp;gt;Excepting lint, Is there any tools which check above pattern&lt;BR /&gt;&lt;BR /&gt;There is no lint on IPF, only +wlint, which is much better.&lt;BR /&gt;&lt;BR /&gt;If you know which call to gethostbyname is bad, you should look very closely at it.  Can you provide a small snip of the call?  And the types of all of the parms.</description>
      <pubDate>Fri, 27 Feb 2009 21:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-failed-compiling-with-64bit-mode/m-p/4368049#M535091</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-27T21:10:35Z</dc:date>
    </item>
  </channel>
</rss>

