<?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: gcc - disable warning in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935470#M804668</link>
    <description>Hi Alex, &lt;BR /&gt;&lt;BR /&gt;It comes from LD, manual says &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;+v[no]compatwarnings   This option is accepted but ignored by the 64-bit ld.  Enable [disable] printing warnings about&lt;BR /&gt;compatibility issues between systems.  This&lt;BR /&gt;includes any functionality which may change in  future releases.  The default is +vcompatwarnings. See the WARNINGS section below for further details.&lt;BR /&gt;&lt;BR /&gt; The linker emits warnings where ever it detects any compatibility&lt;BR /&gt; issues.  Among other things, these issues include architectural ones,&lt;BR /&gt; as well as functionality that may change over time.  Some of these&lt;BR /&gt; include:&lt;BR /&gt;&lt;BR /&gt;      + Linking a PA 2.0 object file, which will not run on a PA 1.x&lt;BR /&gt;        system.&lt;BR /&gt;&lt;BR /&gt;      + Incremental loading with the -A option.&lt;BR /&gt;&lt;BR /&gt;      + Procedure call parameter and return type checking, including&lt;BR /&gt;        the -C option.&lt;BR /&gt;&lt;BR /&gt;      + Symbols with the same name but different types, such as CODE&lt;BR /&gt;        and DATA.&lt;BR /&gt;&lt;BR /&gt;      + Checking of unsatisfied symbols by the linker, which sometimes&lt;BR /&gt;        skips certain object files from an archived library.  This&lt;BR /&gt;        warning is only given if the -v option is also provided.&lt;BR /&gt;&lt;BR /&gt;      + Versioning of objects within a shared library.&lt;BR /&gt;&lt;BR /&gt; These messages can be turned off with the +vnocompatwarnings option.&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;               &lt;BR /&gt;</description>
    <pubDate>Thu, 20 Oct 2005 23:40:23 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2005-10-20T23:40:23Z</dc:date>
    <item>
      <title>gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935468#M804666</link>
      <description>Hello, after compilation I get this warning:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/var/tmp//ccRkWsca.o) was detected. The linked output may not run on a PA 1.x system.&lt;BR /&gt;&lt;BR /&gt;Well, it's ok by me that it won't run on 32bit, is there any way to make gcc not print this warning?&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Thu, 20 Oct 2005 17:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935468#M804666</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-20T17:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935469#M804667</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;This warning is given by the ld. I am not sure about gcc and I know with ansi C &lt;BR /&gt;you can suppress this warning using&lt;BR /&gt;&lt;BR /&gt;# cc -Wl,+vnocompatwarnings code.c&lt;BR /&gt;&lt;BR /&gt;I would suggest to look the man page of ld. May you can set and export a env variable like LDOPTS so that you don't need to give those option at gcc. Look for such variable support in gcc man page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 18:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935469#M804667</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-10-20T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935470#M804668</link>
      <description>Hi Alex, &lt;BR /&gt;&lt;BR /&gt;It comes from LD, manual says &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;+v[no]compatwarnings   This option is accepted but ignored by the 64-bit ld.  Enable [disable] printing warnings about&lt;BR /&gt;compatibility issues between systems.  This&lt;BR /&gt;includes any functionality which may change in  future releases.  The default is +vcompatwarnings. See the WARNINGS section below for further details.&lt;BR /&gt;&lt;BR /&gt; The linker emits warnings where ever it detects any compatibility&lt;BR /&gt; issues.  Among other things, these issues include architectural ones,&lt;BR /&gt; as well as functionality that may change over time.  Some of these&lt;BR /&gt; include:&lt;BR /&gt;&lt;BR /&gt;      + Linking a PA 2.0 object file, which will not run on a PA 1.x&lt;BR /&gt;        system.&lt;BR /&gt;&lt;BR /&gt;      + Incremental loading with the -A option.&lt;BR /&gt;&lt;BR /&gt;      + Procedure call parameter and return type checking, including&lt;BR /&gt;        the -C option.&lt;BR /&gt;&lt;BR /&gt;      + Symbols with the same name but different types, such as CODE&lt;BR /&gt;        and DATA.&lt;BR /&gt;&lt;BR /&gt;      + Checking of unsatisfied symbols by the linker, which sometimes&lt;BR /&gt;        skips certain object files from an archived library.  This&lt;BR /&gt;        warning is only given if the -v option is also provided.&lt;BR /&gt;&lt;BR /&gt;      + Versioning of objects within a shared library.&lt;BR /&gt;&lt;BR /&gt; These messages can be turned off with the +vnocompatwarnings option.&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;               &lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 23:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935470#M804668</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-20T23:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935471#M804669</link>
      <description>Check this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://devrsrc1.external.hp.com/STK/libscan.html" target="_blank"&gt;http://devrsrc1.external.hp.com/STK/libscan.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You have to compile to suite to PA1.x system as,&lt;BR /&gt;&lt;BR /&gt;CC -c +DA1.0w test.c&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 21 Oct 2005 01:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935471#M804669</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T01:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935472#M804670</link>
      <description>Yep, thanx, I know what that means, but it's "gcc", so "cc" flags do not work for it.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Fri, 21 Oct 2005 03:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935472#M804670</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-21T03:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935473#M804671</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;Check this thread below :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=964067" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=964067&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Fri, 21 Oct 2005 03:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935473#M804671</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-10-21T03:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935474#M804672</link>
      <description>You have notified that compiler is gcc. You have to use gcc options of,&lt;BR /&gt;&lt;BR /&gt;      These `-m' options are defined for the HPPA family of computers:&lt;BR /&gt;&lt;BR /&gt;      -mpa-risc-1-0&lt;BR /&gt;           Generate code for a PA 1.0 processor.&lt;BR /&gt;&lt;BR /&gt;      -mpa-risc-1-1&lt;BR /&gt;           Generate code for a PA 1.1 processor.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 21 Oct 2005 04:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935474#M804672</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T04:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935475#M804673</link>
      <description>Alex, to turn off the warning from "ld" you have to use +vnocompatwarnings. You can specify with LDFLAGS as, &lt;BR /&gt;&lt;BR /&gt;# export LDFLAGS="+vnocompatwarnings"&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 21 Oct 2005 04:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935475#M804673</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-21T04:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: gcc - disable warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935476#M804674</link>
      <description>Oh, that's right ...&lt;BR /&gt;&lt;BR /&gt;Had a brainlock or something, it's linker flags, not compiler's ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Fri, 21 Oct 2005 04:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-disable-warning/m-p/4935476#M804674</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-21T04:42:28Z</dc:date>
    </item>
  </channel>
</rss>

