Re: C++11 headers missing in /usr/include
Re: C++11 headers missing in /usr/include
- Subject: Re: C++11 headers missing in /usr/include
- From: Jens Alfke <email@hidden>
- Date: Fri, 20 Jan 2017 10:05:08 -0800
On Jan 20, 2017, at 9:57 AM, Jonathan Prescott < email@hidden> wrote:
You should be aware that the implementations in the headers are tied very tightly to the clang compiler and the libc++, libc libraries defined as part of the clang/llvm environment.
Yup, I was going to note the same thing. Using a different compiler’s standard-library header’s is a sure way into a world of pain. If Visual Code is using Microsoft’s compiler, you have to use Microsoft’s C/C++ headers. If it’s using Clang, you just need to use the appropriate compiler flag to tell it to use C++11, and it will automatically select the right header search paths.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden