[cfe-dev] ASTUnitTest.cpp does not compile under C++11

James Dennett via cfe-dev cfe-dev at lists.llvm.org
Wed Jun 6 14:09:21 PDT 2018


On Wed, Jun 6, 2018 at 1:54 PM, Isaac Hier via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> You need to use `-std=c++14` or `-std=c++1y` for this to work.
>

Yes -- that was implied by the subject line "ASTUnitTest.cpp does not
compile under C++11".  I think the email is pointing out that this should
not be the case; some recent code change inadvertently introduced C++14
code there.  Happily it appears to have been fixed in
https://github.com/llvm-mirror/clang/commit/3cab9725c69c7c7771a4aed5f3e17954702309f3

-- James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180606/0cc8ff27/attachment.html>


More information about the cfe-dev mailing list