[MacPorts] #60449: gcc10 missing header <wchar.h>
MacPorts
noreply at macports.org
Thu May 7 17:04:36 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
Keywords: catalina | Port: gcc10
----------------------+--------------------
When installing gcc10 and compiling externally with
/opt/local/bin/g++-mp-10 the error below appears, possibly because system
headers that GCC relies on, have on MacOS 10.5 been moved away from
/usr/include/.
In file included from /opt/local/include/gcc10/c++/bits/postypes.h:40,
from /opt/local/include/gcc10/c++/iosfwd:40,
from /opt/local/include/gcc10/c++/ios:38,
from /opt/local/include/gcc10/c++/ostream:38,
from /opt/local/include/gcc10/c++/iostream:39,
from c++version.cc:2:
/opt/local/include/gcc10/c++/cwchar:44:10: fatal error: wchar.h: No such
file or directory
44 | #include <wchar.h>
| ^~~~~~~~~
compilation terminated.
--
Ticket URL: <https://trac.macports.org/ticket/60449>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list