Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 22:28:32 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-current@freebsd.org
Subject:   Re: Are clang++ and libc++ compatible?
Message-ID:  <52829D80.6000303@gmx.de>
In-Reply-To: <CAGsORuAEP-dag2AqO=n66QG9GZf9z3DKqM%2BfYBK5Txzeqbwhuw@mail.gmail.com>
References:  <20131112163219.GA2834@troutmask.apl.washington.edu>	<77CB2B92-216A-4C80-B033-7E582B5F0DFC@FreeBSD.org>	<20131112165422.GA2939@troutmask.apl.washington.edu> <CAGsORuAEP-dag2AqO=n66QG9GZf9z3DKqM%2BfYBK5Txzeqbwhuw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 12.11.2013 18:13, schrieb Zhihao Yuan:

> BTW, iirc VC STL has the same issue.  But libstdc++ has an honorable
> history of supporting incomplete type in STL declaration.

A disservice, not honorable.

Nonstandard extensions, however convenient, are a pain when writing
portable code.  I am usually setting -std=c++11 -pedantic first up these
days to avoid pitfalls later. (or -std=c11)  And hope the compiler
actually complains.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52829D80.6000303>