delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/18/22:32:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B2C4B63.7070700@googlemail.com>
Date: Sat, 19 Dec 2009 03:41:23 +0000
From: "Dave \"What part of PCYMTNQREAIYR isn't obvious? ;-)\" Korn" <davek DOT spamtrap AT googlemail DOT com>
Reply-To: no DOT replies AT this DOT account DOT invalid
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: undefined reference to `___real__Znwj'
References: <ec09a5af0912171116o601f5d62o369469bf8048e73d AT mail DOT gmail DOT com> <4B2AB7C2 DOT 3000808 AT gmail DOT com> <hgecs4$r0$1 AT ger DOT gmane DOT org> <4B2BDFAB DOT 2020407 AT googlemail DOT com> <hgh7np$7ml$1 AT ger DOT gmane DOT org>
In-Reply-To: <hgh7np$7ml$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

jojelino wrote:
> thanks for replying. i needed it!
> in fact, there is no need to change whole problematic cygwin source code to 
> fix aliasing problem..
> for me, just getting rid of '-Werror' from makefile.in resolves the problem.
> it just complains for some lines of warning :)

  Yeah, and just getting rid of the pain by taking morphine will likewise
"resolve" the problem of a tiger having bitten your leg off, with only some
complaints and a dull throbbing.  Right up until you die of blood-loss, of course!

  The warnings are there for a good reason: they identify undefined code that
the compiler is very likely to generate assembly that doesn't do what you were
hoping it would do.  That is why the cygwin makefile deliberately makes these
warnings into fatal errors on purpose: because they are actually quite serious
and could result in a buggy or unreliable DLL.  You would be well advised to
use the patches rather than disabling -Werror.

  (BTW, if you do really want to do that, you can save yourself the trouble of
editing and regenerating the Makefile; removal of -Werror can be specified on
the configure command-line using '--disable-werror'.)

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019