[cfe-dev] Duplicated header between Clang and MSVC - why?

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 7 11:47:49 PDT 2019


On Sun, Oct 6, 2019 at 11:48 PM Gaier, Bjoern <Bjoern.Gaier at horiba.com>
wrote:

> So if I have a ‘duplicated’ header, would it be better to use the Clang
> header? Or should I include both header in the search path?
>

I think in the end because of the usage of `include_next` it will be
necessary to have two directories of headers:
- clang's headers
- msvc's headers
The search path has to put clang's first and MSVC's second. In this
context, the organization could be up to you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191007/212e93a6/attachment.html>


More information about the cfe-dev mailing list