[MacPorts] #60449: gcc10 missing header <wchar.h>

MacPorts noreply at macports.org
Fri May 8 10:27:15 UTC 2020


#60449: gcc10 missing header <wchar.h>
-----------------------+----------------------
  Reporter:  haberg-1  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.2
Resolution:            |   Keywords:  catalina
      Port:  gcc10     |
-----------------------+----------------------

Comment (by cjones051073):

 The command line tools package does not install to /usr/include. Instead
 it installs SDKs to /Library/Developer/CommandLineTools

 I see no difference in the behaviour or content of gcc10, compared to
 gcc9.

 {{{
 Oberon ~/Downloads > port contents gcc9 | grep wchar
   /opt/local/include/gcc9/c++/cwchar
   /opt/local/include/gcc9/c++/tr1/cwchar
   /opt/local/include/gcc9/c++/tr1/wchar.h
 Oberon ~/Downloads > port contents gcc10 | grep wchar
   /opt/local/include/gcc10/c++/cwchar
   /opt/local/include/gcc10/c++/tr1/cwchar
   /opt/local/include/gcc10/c++/tr1/wchar.h
 Oberon ~/Downloads > port contents libgcc10 | grep wchar
   /opt/local/include/gcc/c++/cwchar
   /opt/local/include/gcc/c++/tr1/cwchar
   /opt/local/include/gcc/c++/tr1/wchar.h
 }}}

 Please test build the example application I posted above, using the -H
 option, and compare to the logs I attached above.

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


More information about the macports-tickets mailing list