<?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: &amp;quot;/usr/include/strings.h&amp;quot;, line 52: error 1000: Unexpected symbol: &amp;quot;(&amp;quot;. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155879#M90688</link>
    <description>&lt;P&gt;&amp;gt;I am compiling with HP-UX cc&lt;BR /&gt;&lt;BR /&gt;You need to mention which version of HP-UX and/or provide what is on line 52 of &amp;lt;strings.h&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;Also, why are you using a non-standard header &amp;lt;strings.h&amp;gt;? The correct ANSI C one is &amp;lt;string.h&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;You should NOT be using +DA1.0. The last OS release it was valid is 10.10. Also use +DS2.0.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;when I use the following line: cc -c -Aa +e&lt;BR /&gt;&lt;BR /&gt;Chances are you are running into an evil macro.&lt;BR /&gt;Compile with -E and look at that line and you'll probably see that you have an evil macro expansion for bcopy.&lt;BR /&gt;&lt;BR /&gt;Using -Aa makes &amp;lt;strings.h&amp;gt; the same as &amp;lt;string.h&amp;gt; so you don't have problems.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Sep 2011 20:51:44 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-17T20:51:44Z</dc:date>
    <item>
      <title>"/usr/include/strings.h", line 52: error 1000: Unexpected symbol: "(".</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155877#M90686</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;I am compiling with HPUX cc compiler using the following command:&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;/opt/ansic/bin/cc -c +DAportable +DS1.1  -DUSE_MOTIF -I./src -I./ tests/gui_test_motif.c -o tests/gui_test.o&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;but get the following error:&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;cc: "/usr/include/strings.h", line 52: error 1000: Unexpected symbol: "(".&lt;BR /&gt;cc: "/usr/include/strings.h", line 52: error 1573: Type of "size_t" is undefined due to an illegal declaration.&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;However, when I use the following line:&lt;BR /&gt;/opt/ansic/bin/cc -c  -Aa +e  -z  +DA1.0 +DS1.1 -DUSE_MOTIF ...&lt;BR /&gt;&lt;BR /&gt;it compiles and links ok. Can somebody help me in problem?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 05 Mar 2008 13:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155877#M90686</guid>
      <dc:creator>Dima Rusyy</dc:creator>
      <dc:date>2008-03-05T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: "/usr/include/strings.h", line 52: error 1000: Unexpected symbol: "(".</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155878#M90687</link>
      <description>&amp;gt; I am compiling with HPUX cc compiler [...]&lt;BR /&gt;&lt;BR /&gt;Compiling what?  Have you a small test case?&lt;BR /&gt;&lt;BR /&gt;Compiler version?  HP-UX version?  Hardware&lt;BR /&gt;type?&lt;BR /&gt;&lt;BR /&gt;Knowing nothing, it looks as if you're&lt;BR /&gt;declaring/defining size_t in an interesting&lt;BR /&gt;way.  (Conditionally.)</description>
      <pubDate>Wed, 05 Mar 2008 19:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155878#M90687</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-05T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: "/usr/include/strings.h", line 52: error 1000: Unexpected symbol: "(".</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155879#M90688</link>
      <description>&lt;P&gt;&amp;gt;I am compiling with HP-UX cc&lt;BR /&gt;&lt;BR /&gt;You need to mention which version of HP-UX and/or provide what is on line 52 of &amp;lt;strings.h&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;Also, why are you using a non-standard header &amp;lt;strings.h&amp;gt;? The correct ANSI C one is &amp;lt;string.h&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;You should NOT be using +DA1.0. The last OS release it was valid is 10.10. Also use +DS2.0.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;when I use the following line: cc -c -Aa +e&lt;BR /&gt;&lt;BR /&gt;Chances are you are running into an evil macro.&lt;BR /&gt;Compile with -E and look at that line and you'll probably see that you have an evil macro expansion for bcopy.&lt;BR /&gt;&lt;BR /&gt;Using -Aa makes &amp;lt;strings.h&amp;gt; the same as &amp;lt;string.h&amp;gt; so you don't have problems.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2011 20:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-usr-include-strings-h-quot-line-52-error-1000-unexpected/m-p/4155879#M90688</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-17T20:51:44Z</dc:date>
    </item>
  </channel>
</rss>

