DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56T8dhtc615553 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 56T8dhtc615553 X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Tue, 29 Jul 2025 10:39:18 +0200 To: cygwin AT cygwin DOT com Subject: Re: new c++ new/delete overloads need wrapping? Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <81535510-8360-1c72-442a-0b630a6d937f AT jdrake DOT com> <80497791-d323-4204-66ef-4b1a8ff45aa9 AT jdrake DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <80497791-d323-4204-66ef-4b1a8ff45aa9@jdrake.com> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Jul 28 12:57, Jeremy Drake via Cygwin wrote: > On Mon, 28 Jul 2025, Corinna Vinschen via Cygwin wrote: > > Unless there's some automatism referencing the __wrap_X functions even > > if the --wrap option isn't present, I don't see this incompatibility as > > much of a problem. We're trying to maintain backward compat, but that > > doesn't mean an executable created under and for a newer Cygwin DLL > > has to run under an older DLL. > > OK, then the patch adds support for wrapping these functions ends up in a > stable Cygwin release, then GCC is updated to add additional --wrap > parameters for them, and that GCC and binaries it produces will no longer > be compatible with older Cygwin DLLs. *iff* the --wrap option is used with functions not provided by older DLLs, right? Not for some reason generally incompatible, I hope... Corinna -- 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