adobe / hyde

A front-end to Jekyll that parses C++ sources to produce and enforce out-of-line documentation
http://opensource.adobe.com/hyde/
MIT License
323 stars 41 forks source link

Not finding path for standard library #38

Open sean-parent opened 5 years ago

sean-parent commented 5 years ago

Describe the bug Executing a command like the following:

hyde ./include/psutil/safe_cast.hpp -hyde-src-root=../../include -hyde-yaml-dir=../../docs/include \
    -resource-dir=`clang++ --print-resource-dir` -access-filter-protected \
    -namespace-blacklist="safe_cast_detail" -hyde-update -- \
    -x c++ -std=c++14 -stdlib=libc++

Will error out trying to include any file in libc++. The workaround is to explicitly add the path:

 -I`xcode-select --print-path`/usr/include/c++/v1