<?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: C - Compilation Warning. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/c-compilation-warning/m-p/2715485#M721652</link>
    <description>&lt;BR /&gt;The CC always tries to compile your program if possible; it never gratuitously rejects a program whose meaning is clear merely because (for instance) it fails to conform to a standard. In some cases, however, the C and C++ standards specify that certain extensions are forbidden, and a diagnostic must be issued by a conforming compiler.&lt;BR /&gt;The `-pedantic' option tells CC to issue warnings in such cases; `-pedantic-errors' says to make them errors instead. This does not mean that all non-ANSI constructs get warnings or errors. &lt;BR /&gt;&lt;BR /&gt;In your case try to run:&lt;BR /&gt;&lt;BR /&gt;cc -o cach -assume noaligned_objects cach.c&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bassoi&lt;BR /&gt;</description>
    <pubDate>Thu, 02 May 2002 19:52:29 GMT</pubDate>
    <dc:creator>Ricardo Bassoi</dc:creator>
    <dc:date>2002-05-02T19:52:29Z</dc:date>
    <item>
      <title>C - Compilation Warning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-compilation-warning/m-p/2715484#M721651</link>
      <description>Dear all, &lt;BR /&gt;while porting 32 bit proC code on 64 bit HP machine it gives following warnings. &lt;BR /&gt;&lt;BR /&gt;-------------- &lt;BR /&gt;cc: "cach.c", line 2803: warning 530: LP64 migration: Casting from loose to strict alignment: Resulting pointer may be misaligned. &lt;BR /&gt;&lt;BR /&gt;------------------- &lt;BR /&gt;&lt;BR /&gt;is this major warning ?? will it affect in runtime ? &lt;BR /&gt;is there in way to remove this warnings ..? &lt;BR /&gt;&lt;BR /&gt;Thanks in advance, &lt;BR /&gt;&lt;BR /&gt;William</description>
      <pubDate>Thu, 02 May 2002 07:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-compilation-warning/m-p/2715484#M721651</guid>
      <dc:creator>william_39</dc:creator>
      <dc:date>2002-05-02T07:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: C - Compilation Warning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-compilation-warning/m-p/2715485#M721652</link>
      <description>&lt;BR /&gt;The CC always tries to compile your program if possible; it never gratuitously rejects a program whose meaning is clear merely because (for instance) it fails to conform to a standard. In some cases, however, the C and C++ standards specify that certain extensions are forbidden, and a diagnostic must be issued by a conforming compiler.&lt;BR /&gt;The `-pedantic' option tells CC to issue warnings in such cases; `-pedantic-errors' says to make them errors instead. This does not mean that all non-ANSI constructs get warnings or errors. &lt;BR /&gt;&lt;BR /&gt;In your case try to run:&lt;BR /&gt;&lt;BR /&gt;cc -o cach -assume noaligned_objects cach.c&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bassoi&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 19:52:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-compilation-warning/m-p/2715485#M721652</guid>
      <dc:creator>Ricardo Bassoi</dc:creator>
      <dc:date>2002-05-02T19:52:29Z</dc:date>
    </item>
  </channel>
</rss>

