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" 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: <4B2AB7C2 DOT 3000808 AT gmail DOT com> <4B2BDFAB DOT 2020407 AT googlemail DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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