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