[MacPorts] #70750: MacOS Sequoia: C++ headers are not found with CLTs installed

MacPorts noreply at macports.org
Wed Sep 18 17:19:14 UTC 2024


#70750: MacOS Sequoia: C++ headers are not found with CLTs installed
-----------------------+---------------------
  Reporter:  SaintBol  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  sequoia
      Port:            |
-----------------------+---------------------

Comment (by jmroot):

 Replying to [comment:30 nortcele]:
 > If I compile the test.cxx file either with
 >
 > {{{
 > DEVELOPER_DIR=/Library/Developer/CommandLineTools/ clang++ -v -std=c++17
 -Wall -Werror -pedantic -o test test.cxx |& grep -A5 '#include <'
 > }}}
 >
 > the compilation is successful and the code works.

 If compilation succeeds then you are not affected. The definitive
 indicator that it's working correctly is that the verbose output shows
 `/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1`
 in the include search paths rather than
 `/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1`.

-- 
Ticket URL: <https://trac.macports.org/ticket/70750#comment:31>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list