www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/06/04/16:17:03

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 554KH3C3986413
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 554KH3C3986413
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=qdBIYkvp
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C1D43857BB0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1749068221;
bh=B5M7O7xopgEz/u7AnZJ+GoenKnSRhBg/nFrM6qOj1VE=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=qdBIYkvpJQQmh3QHwJTC5lYsICpoBXIFCqsrxl83HkGrWr0+2kLkTDLrQq/Q+eVYx
LgsrrlMbbLZetE9m1zPoQO9F9ujnYMyNJlYpd357MEe3BHHckBLNYwzx067Y3ZKkLh
4qo7nCc/ylG8HdXH40gTbP5gqTXsNrYKpPFIOsgs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 300AE3858D35
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 300AE3858D35
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1749068175; cv=pass;
b=ngq7AuSCCxF2fUAdstyXfoNY922gaBGXyqzn9iurzy1KzajYR6a5JZdkHaGaE9OcgWCfkxbEBVisTb+mbYTurJ+yRvVkwSRQ0TxJtdsa9o+u4eRmXvR25uK3/OkvWZv++bwATqNNijU9TsGgV6/UcGC4PRiAIalXCYezCTkI/q4=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1749068175; c=relaxed/simple;
bh=FJiBxBy78xREAbS2uzFxHfBuzW/JAre2vuZ7zeZqTao=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=Cha+es5RRFmJw+z1cDHO9Z8haS+gWVljuFo9fszT6Fr3sOMwJj5LPZTMAQEQMR6u/Nk98aK8nTGi5Xd2vjdQ99E2o5xbe9W6qnxp7yAjDAeZxNjJ0mWH/0fHjIlqJgPfm1aaAxxjmd7uLlBZ+7Fvf8V2OFPkho3drRtjOkRcBAI=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 300AE3858D35
ARC-Seal: i=1; a=rsa-sha256; t=1749068170; cv=none; d=zohomail.eu; s=zohoarc;
b=bKO9tcavRexPmidv2YBKETyCLbzn04Fv5ZRatfuMwqQGnWF1I2t8rDKK04xnO4JqAoipAAWNrjVYdAOtGRBxVl2MmelNdQS8b+C/x72/5/y4zGVn2eHjuW3DGeg+3Fv0E8tqPRst22ucRgqbkqIgjHEp9lFzEaohaVfQoyY9x1U=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu;
s=zohoarc; t=1749068170;
h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc;
bh=aFP7hDnYOA/EpxBVhXRbU+/IwE2hvFc58ppPhAL8cjQ=;
b=dOTntUDj0puR0aS0lhrukhekd/9gkKG1PZRaFQz8Iw2NiA8Z5+S2CZNWq+zc2gnX5L6/xQk1GQol6f4eKWA0gfRKK73KzuCIUmEmtkzqUP2GdZQxXpbPipfPdpF5vWj/pBqQ/B03Izo9OnhwNTKAe9N38MhzpAo+RogugTd96yI=
ARC-Authentication-Results: i=1; mx.zohomail.eu;
dkim=pass header.i=hamishmb.com;
spf=pass smtp.mailfrom=cygwin AT hamishmb DOT com;
dmarc=pass header.from=<cygwin AT hamishmb DOT com>
Message-ID: <ef60ac9a-6793-4abc-8eb8-418a1f0ec18b@hamishmb.com>
Date: Wed, 4 Jun 2025 21:16:09 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Default GCC compiler options and how to change them
To: cygwin AT cygwin DOT com
References: <bc517274-b4b9-45ca-abec-fad52d0a41e6 AT hamishmb DOT com>
<877c2kl8yl DOT fsf AT Gerda DOT invalid>
In-Reply-To: <877c2kl8yl.fsf@Gerda.invalid>
X-ZohoMailClient: External
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Hamish McIntyre-Bhatty via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Hamish McIntyre-Bhatty <cygwin AT hamishmb DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 554KH3C3986413

On 13/05/2025 18:24, ASSI via Cygwin wrote:
> Hamish McIntyre-Bhatty via Cygwin writes:
>> I've run into a blocker when trying to build wxPython that wasn't a
>> problem when I last did it (which amittedly was over a year ago). Some
>> -werror flags are being passed to GCC, but I can't see where they're
>> coming from. Are there any defaults set for GCC that mean -werror
>> might be turned on?
> 
> No, that comes from the package.  But a newer gcc might have more
> warnings that now turn into an error.
> 
>> When I build wxPython on my host (Linux) system, I don't get the same
>> issues, so I'm assuming there are defaults being set somewhere. If
>> anyone could offer some help I'd be very appreciative.
> 
> Pass 'Wno-error=…' into CCFLAGS or something like that or if it's just a
> handful of locations bracket them with
> 
> #pragma push
> #pragma GCC diagnostic ignored "-W…"
> /* offending code */
> #pragma pop
> 
> 
> Regards,
> Achim.

Cheers for the help. It turned out all I needed to do was patch a couple 
of lines of source code, and now I'm on to the next problem to fix :)

I haven't a clue why -Wno-error=return-type didn't work, but that's 
neither here nor there.

Hamish

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

- Raw text -


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