<?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: ANSI feature support on compiler in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073190#M92116</link>
    <description>compiled on 11.00 to get it done fast.</description>
    <pubDate>Thu, 11 Oct 2007 11:41:45 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2007-10-11T11:41:45Z</dc:date>
    <item>
      <title>ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073185#M92111</link>
      <description>K580/B.10.20. Not patched for more than an year.&lt;BR /&gt;&lt;BR /&gt;hostname as oracle -&amp;gt; cc hide.c -o hide&lt;BR /&gt;cc: "hide.c", line 22: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;cc: "hide.c", line 25: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;cc: "hide.c", line 164: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#what /usr/bin/cc&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;              LINT A.10.32.03 CXREF  A.10.32.03&lt;BR /&gt;        HP92453-01 A.10.32.03 HP C Compiler&lt;BR /&gt;         /usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;#grep -i Compiler swlist.product.07162007&lt;BR /&gt;  C-ANSI-C              B.10.20.00     HP C/ANSI C Compiler&lt;BR /&gt;  COBOLCRT              B.11.30        COBOL Compiler&lt;BR /&gt;&lt;BR /&gt;any way i can enable the ANSI feature? or any third party compiler which works on 10.20?</description>
      <pubDate>Tue, 09 Oct 2007 11:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073185#M92111</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-09T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073186#M92112</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Add the '-A' flag.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 09 Oct 2007 11:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073186#M92112</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-10-09T11:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073187#M92113</link>
      <description>Since you have the ANSI/C compiler installed, you shouldn't be getting these messages. I do assume the the compiler is configured. You will get these messages even with the ANSI C compiler installed and configured if your makefile or CCOPTS variable is asserting the -Ac (traditional K&amp;amp;R) mode. I'm betting that the ANSI C compiler is not in your PATH and you are invoking the Bundled C compiler which only speaks K&amp;amp;R C.</description>
      <pubDate>Tue, 09 Oct 2007 11:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073187#M92113</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-10-09T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073188#M92114</link>
      <description>&lt;BR /&gt;# man cc&lt;BR /&gt;might help to determine the ANSI C options: -A or -Ac&lt;BR /&gt;&lt;BR /&gt;try this one:&lt;BR /&gt;&lt;BR /&gt;cat &amp;lt; /tmp/t.c&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;printf("Hello World\n");&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;!&lt;BR /&gt;&lt;BR /&gt;cd /tmp&lt;BR /&gt;make t&lt;BR /&gt;&lt;BR /&gt;./t&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Oct 2007 19:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073188#M92114</guid>
      <dc:creator>D Block</dc:creator>
      <dc:date>2007-10-09T19:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073189#M92115</link>
      <description>10.20 isn't supported.  The C compiler there isn't supported.&lt;BR /&gt;This compiler is so old the default is evil K&amp;amp;R.&lt;BR /&gt;&lt;BR /&gt;As JRF hinted, you must specify -Ae or -Ae to compile in ANSI C mode.  (Or use c89.)&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Oct 2007 23:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073189#M92115</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-09T23:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073190#M92116</link>
      <description>compiled on 11.00 to get it done fast.</description>
      <pubDate>Thu, 11 Oct 2007 11:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073190#M92116</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-11T11:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073191#M92117</link>
      <description>&amp;gt;compiled on 11.00 to get it done fast.&lt;BR /&gt;&lt;BR /&gt;This isn't supported.  You can't compile on 11.00 and move back to 10.20.&lt;BR /&gt;&lt;BR /&gt;All you needed to do is add -Ae to your makefile, or "export CCOPTS=-Ae" and build.</description>
      <pubDate>Thu, 11 Oct 2007 17:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073191#M92117</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-11T17:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073192#M92118</link>
      <description>one of my dba colleague was doing this. He said it worked for him.</description>
      <pubDate>Fri, 12 Oct 2007 14:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073192#M92118</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-12T14:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: ANSI feature support on compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073193#M92119</link>
      <description>&amp;gt;one of my DBA colleague was doing this. He said it worked for him.&lt;BR /&gt;&lt;BR /&gt;There is a difference between supported and works.&lt;BR /&gt;&lt;BR /&gt;This won't work for C++ because of mangling differences.  If you use higher opt levels, you may run into TLS issues.&lt;BR /&gt;And libc headers aren't compatible.</description>
      <pubDate>Fri, 12 Oct 2007 15:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ansi-feature-support-on-compiler/m-p/5073193#M92119</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-12T15:43:12Z</dc:date>
    </item>
  </channel>
</rss>

