[PATCH 09/11] Add c++14 sized deallocation operator

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 23 11:07:00 GMT 2016

On Mar 21 16:03, Peter Foley wrote:
> On Mon, Mar 21, 2016 at 3:55 PM, Corinna Vinschen
> <corinna-cygwin@cygwin.com> wrote:
> > But using -std= when building Cygwin wouldn't change the fact that we
> > might need this delete anyway for applications built with -std=c++14
> > or do I miss something?
> This patch is specifically for building cygwin1.dll
> I haven't tested building programs with -std=c++14, but that should
> not be affected at all by this patch.
> I believe the only reason this issue occurs at all is that cygwin1.dll
> explicitly does not link with libstdc++.

I applied the original patch and added a diagnostic pragma to disable
the warning for now.

We definitely have keep in mind that we might have to export this
function at one point for C++14 applications playing dirty tricks.
I seriously wonder if we shoudn't do this proactively.  Again, see
https://cygwin.com/ml/cygwin-patches/2009-q3/msg00010.html for the
reasdon to export the functions at all.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160323/f1f6bd2a/attachment.sig>

More information about the Cygwin-patches mailing list