<?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 aCC error with unsigned int in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-error-with-unsigned-int/m-p/2673534#M723085</link>
    <description>I cannot compile code used by Agilent ADS which has previously been compiled successfully on a PC. I'm hoping someone will recognise this type of error and let me know how to cure it.&lt;BR /&gt;Error message is:&lt;BR /&gt;&lt;BR /&gt;aCC -z +Z +DAportable +DS871 +w -g0 +d -I/apps_hp/agilent/ads_2001/hptolemy/src/&lt;BR /&gt;gsl -I/apps_hp/agilent/ads_2001/hptolemy/src/hptolemy-kernel/kernel -I/apps_hp/a&lt;BR /&gt;gilent/ads_2001/hptolemy/src/hptolemy-kernel/compat/ptolemy -I/apps_hp/agilent/a&lt;BR /&gt;ds_2001/hptolemy/src/hptolemy-kernel/compat/cfront -I/apps_hp/agilent/ads_2001/h&lt;BR /&gt;ptolemy/src/hptolemy-kernel/compat/unix -I../src   +W740,749 -D_HPUX_SOURCE -DSY&lt;BR /&gt;SV -DHPUX_10   -I/apps_hp/agilent/ads_2001/hptolemy/src/timed/kernel -I/apps_hp/&lt;BR /&gt;agilent/ads_2001/hptolemy/src/numeric/kernel  -c -o Universal_Chip.o ../src/Univ&lt;BR /&gt;ersal_Chip.cc&lt;BR /&gt;Warning (suggestion) 469: "/usr/include/stdlib.h", line 40 # This typedef&lt;BR /&gt;    keyword is useless because it does not declare any new type names.&lt;BR /&gt;         typedef unsigned int wchar_t;&lt;BR /&gt;         ^^^^^^^&lt;BR /&gt;Error 19: "../src/Universal_Chip.cc", line 48 # Unexpected 'int'.&lt;BR /&gt;            int_value = unsigned int(strtol(a_temp, &amp;amp;p, 0));</description>
    <pubDate>Thu, 28 Feb 2002 15:12:13 GMT</pubDate>
    <dc:creator>Ian Kitcher</dc:creator>
    <dc:date>2002-02-28T15:12:13Z</dc:date>
    <item>
      <title>aCC error with unsigned int</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-error-with-unsigned-int/m-p/2673534#M723085</link>
      <description>I cannot compile code used by Agilent ADS which has previously been compiled successfully on a PC. I'm hoping someone will recognise this type of error and let me know how to cure it.&lt;BR /&gt;Error message is:&lt;BR /&gt;&lt;BR /&gt;aCC -z +Z +DAportable +DS871 +w -g0 +d -I/apps_hp/agilent/ads_2001/hptolemy/src/&lt;BR /&gt;gsl -I/apps_hp/agilent/ads_2001/hptolemy/src/hptolemy-kernel/kernel -I/apps_hp/a&lt;BR /&gt;gilent/ads_2001/hptolemy/src/hptolemy-kernel/compat/ptolemy -I/apps_hp/agilent/a&lt;BR /&gt;ds_2001/hptolemy/src/hptolemy-kernel/compat/cfront -I/apps_hp/agilent/ads_2001/h&lt;BR /&gt;ptolemy/src/hptolemy-kernel/compat/unix -I../src   +W740,749 -D_HPUX_SOURCE -DSY&lt;BR /&gt;SV -DHPUX_10   -I/apps_hp/agilent/ads_2001/hptolemy/src/timed/kernel -I/apps_hp/&lt;BR /&gt;agilent/ads_2001/hptolemy/src/numeric/kernel  -c -o Universal_Chip.o ../src/Univ&lt;BR /&gt;ersal_Chip.cc&lt;BR /&gt;Warning (suggestion) 469: "/usr/include/stdlib.h", line 40 # This typedef&lt;BR /&gt;    keyword is useless because it does not declare any new type names.&lt;BR /&gt;         typedef unsigned int wchar_t;&lt;BR /&gt;         ^^^^^^^&lt;BR /&gt;Error 19: "../src/Universal_Chip.cc", line 48 # Unexpected 'int'.&lt;BR /&gt;            int_value = unsigned int(strtol(a_temp, &amp;amp;p, 0));</description>
      <pubDate>Thu, 28 Feb 2002 15:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-error-with-unsigned-int/m-p/2673534#M723085</guid>
      <dc:creator>Ian Kitcher</dc:creator>
      <dc:date>2002-02-28T15:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: aCC error with unsigned int</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-error-with-unsigned-int/m-p/2673535#M723086</link>
      <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;I don't care if this compiled on your PC; this is bad syntax. The warning can be ingored but you a missing a type cast.&lt;BR /&gt;&lt;BR /&gt;int_value = unsigned int(strtol(a_temp, &amp;amp;p, 0)); &lt;BR /&gt;should be&lt;BR /&gt;int_value = (unsigned int)(strtol(a_temp, &amp;amp;p, 0));</description>
      <pubDate>Thu, 28 Feb 2002 15:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-error-with-unsigned-int/m-p/2673535#M723086</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-28T15:22:16Z</dc:date>
    </item>
  </channel>
</rss>

