delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/13/19:15:06

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58DNF5822341798
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 58DNF5822341798
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=ywP3QfiC
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F68D3857B90
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1757805303;
bh=pCDsb7BXVCIwAV34Yj2+Ye95on0jSAsOPQUc0fNoIRE=;
h=Date:To:cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=ywP3QfiC9YgCaa2vEDuRRCCeCO7up3+3P2IIjTbh9e6QRPJfy9BlzWiBRd1TvnGsK
EAyCye7HHpY4cHCNQ8xgh6Xo/VqP6dUeP1sQrdVzIldKFM+a42XaM/fe2jqkZqswsi
CK3+aDujIQW0VjcftSJA2/OwgvJ8DCSbPdHVaqN8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4C483857C6E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C4C483857C6E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757805278; cv=none;
b=ljv/q/YFLS/tnKUOYHk93f58+1vTugdd5UIwSiNlc8DAJaPX5i64lW6X/WgeuqQgCRgHpLr55n1vh7wBw5DfLrQpAbsf88jQAU4vcprmeiMg4l+DpAiS08WBNKjnMFSXBhJdw+FWdxTajfokhUmab0EvSdTkTIiXW3cTaRWSF2I=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1757805278; c=relaxed/simple;
bh=0Lf/G1qUIvzyH6IfwCZsBMw6Msf11J39Ui/C6XPr9LI=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=o01CB3tiAnFxQ7Vo584iVrw7NuqjifbHP+fknQYdfRDoKfMp6m1WmLoSs8F1za5IdLZ3tkitUmikvmlTeu6J0ZBRDEa46gf7TVAKIe9h8Tic9TGw3D2xeLIDMBnPOyukErV7pIsDCxaagCuTQisrLPiUL7R87xjffFenbkaEvoU=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4C483857C6E
Date: Sat, 13 Sep 2025 16:14:38 -0700 (PDT)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: ASSI <Stromeko AT nexgo DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: clang 20.1.8+21.1.1: __stdcall__ warning only from Cygwin version
In-Reply-To: <874it79bw0.fsf@>
Message-ID: <d0a809d3-9631-5a75-6fc0-a2f18bd68199@jdrake.com>
References: <5c3c354b-8662-c961-9e13-bdfd4b6a9a75 AT t-online DOT de>
<568c797f-19cf-6da1-cef4-480e3a64445f AT jdrake DOT com> <874it79bw0.fsf@>
MIME-Version: 1.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: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake 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>

On Sat, 13 Sep 2025, ASSI via Cygwin wrote:

> Jeremy Drake via Cygwin writes:
> > Another thing that's got me confused in that vicinity is sysv_abi vs
> > ms_abi calling convention attribute.  I think Cygwin defaults to ms_abi
> > so should allow __attribute__((sysv_abi)) to override, but I think it
> > would warn about that.
>
> No.
>
> https://repo.or.cz/gcc/cygwin-gcc.git/commitdiff/c7930728e2c3e57fac0c04b706f520aa13b1f005

Just to clarify that "no", it seems that commit matches what I expect: the
default is ms_abi, and sysv_abi overrides that and is accepted without
warning.  I believe clang *would* emit a warning for explicit ms_abi on
Windows (MSVC/MinGW, and soon Cygwin will follow that too).

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