<?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: aCC  compile errors with size_t in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433251#M682552</link>
    <description>&lt;!--!*#--&gt;I know nothing, but "size_t" should be&lt;BR /&gt;declared somewhere in the usual system header&lt;BR /&gt;files.  I don't have an aCC on my PA-RISC&lt;BR /&gt;system, but I do see size_t in these:&lt;BR /&gt;&lt;BR /&gt;/usr/include/sys/_size_t.h&lt;BR /&gt;/usr/include/sys/types.h&lt;BR /&gt;&lt;BR /&gt;You might try adding a "-E" to the compiler&lt;BR /&gt;command line, to try to see what's killing&lt;BR /&gt;the normal declaration of size_t.</description>
    <pubDate>Thu, 04 Jun 2009 21:04:30 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-06-04T21:04:30Z</dc:date>
    <item>
      <title>aCC  compile errors with size_t</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433250#M682551</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to set up the compile for a few cpp files, within a set of existing C files using aCC. I got it to compile on HP Itanium, but on the RISC, I am getting the following errors. It looks like "size_t" is not defined, is there a way to get around this ? Or am I missing something here ?&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help. &lt;BR /&gt;&lt;BR /&gt; aCC -DHAVE_CONFIG_H -I. -I. -I../../src/engine -I../../src -I../../src/engine -AA +DA2.0W -c tokenMap.cpp  -DPIC -o .libs/tokenMap.o&lt;BR /&gt;Error 422: "/usr/include/sys/pthread.h", line 452 # 'size_t' is used as a&lt;BR /&gt;    type, but has not been defined as a type. Perhaps you meant 'bsize_t' as&lt;BR /&gt;    in "typedef unsigned long bsize_t" ["/usr/include/sys/types.h", line 191].&lt;BR /&gt;            size_t  stk_stacksize;&lt;BR /&gt;            ^^^^^^&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 15:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433250#M682551</guid>
      <dc:creator>athakur</dc:creator>
      <dc:date>2009-06-04T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: aCC  compile errors with size_t</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433251#M682552</link>
      <description>&lt;!--!*#--&gt;I know nothing, but "size_t" should be&lt;BR /&gt;declared somewhere in the usual system header&lt;BR /&gt;files.  I don't have an aCC on my PA-RISC&lt;BR /&gt;system, but I do see size_t in these:&lt;BR /&gt;&lt;BR /&gt;/usr/include/sys/_size_t.h&lt;BR /&gt;/usr/include/sys/types.h&lt;BR /&gt;&lt;BR /&gt;You might try adding a "-E" to the compiler&lt;BR /&gt;command line, to try to see what's killing&lt;BR /&gt;the normal declaration of size_t.</description>
      <pubDate>Thu, 04 Jun 2009 21:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433251#M682552</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-04T21:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile errors with size_t</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433252#M682553</link>
      <description>&lt;P&gt;+DA2.0W should be replaced by +DD64.&lt;BR /&gt;&lt;BR /&gt;std::size_t should be defined in &amp;lt;&lt;SPAN class="start-tag"&gt;cstddef&amp;gt;&lt;/SPAN&gt; and size_t in &amp;lt;&lt;SPAN class="start-tag"&gt;stddef.h&amp;gt;.&lt;/SPAN&gt;﻿&amp;nbsp; But &amp;lt;pthread.h&amp;gt; should be including these.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Steven: You might try adding a "-E" to the compiler command line&lt;BR /&gt;&lt;BR /&gt;Yes, -E -.i. There is also -H to see the include hierarchy.&lt;/P&gt;&lt;P&gt;Though if an evil macro is messing this up, you may have to look harder.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2011 00:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile-errors-with-size-t/m-p/4433252#M682553</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-04T00:17:34Z</dc:date>
    </item>
  </channel>
</rss>

