delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/05/13/13:25:27

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54DHPRMe1993820
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 54DHPRMe1993820
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=a4R0wRoT
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 445233857BBB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1747157126;
bh=3fbXvzVcL/7y8S/1k4uXR9s9//g50jCoOH+LBfo/sbc=;
h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=a4R0wRoT20n72qPCFRPJmZGhfWOeuYs1v3f1Vsi0HqfLd6Dwoh5/CxLfKBd/mYffJ
rJuDdhNtMnpOJJP1KOjTU/d/ri0XuqqMEvKukEkFDWihteRX9T9kL3yFqtO7BN7FiH
Q3tuAv4LxjkwCkh9YcLCDE/Lwwyr+RjDogIKkO1Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 089313857B9B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 089313857B9B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747157099; cv=none;
b=CPvjOnVXSS/3vIA6IVPy7CYR7WLnJSXzTUHAp+vGxbtDk17DAHX/2eEHTabCVhl7Gj8AnNp7R0nyflfiwQGXwZuRmWBr7O9jBi2gpv7oiweeEp+n9i7rSKt7ds2bOyoYSrhAFEe5VQ8YefclffZpm+CSDf58U0PARBZssF3ePqQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1747157099; c=relaxed/simple;
bh=mwEf80lFXjuaspkjPxxgyFLWP5ePfUoG1hE9ScAXLtM=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=kwZFMZjjzk5CwE7DA0Uu7Xr8+QFAf/d3usmMvU7gQ37c75iYWnl+G6IdbLRdTLV2584PgtVfKQb4E0mV/pgehwSCPGgJZODJepePrj1/M36zkxhJZIlD+obhve5R8Wk/ijQpZK0rKdMBDUQcZgkgarG4ncj1a8d/bFdgadQg9go=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 089313857B9B
To: cygwin AT cygwin DOT com
Subject: Re: Default GCC compiler options and how to change them
In-Reply-To: <bc517274-b4b9-45ca-abec-fad52d0a41e6@hamishmb.com> (Hamish
McIntyre-Bhatty via Cygwin's message of "Thu, 8 May 2025 20:25:45
+0100")
References: <bc517274-b4b9-45ca-abec-fad52d0a41e6 AT hamishmb DOT com>
Date: Tue, 13 May 2025 19:24:50 +0200
Message-ID: <877c2kl8yl.fsf@Gerda.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
X-purgate-server: smtpa06
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 1099
X-purgate-ID: 155817::1747157094-0EE5D2B0-04AC2E8A/0/0
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: ASSI via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ASSI <Stromeko AT nexgo DOT de>
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 54DHPRMe1993820

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.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

-- 
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