Opened 4 years ago
Last modified 4 years ago
#60449 closed defect
gcc10 missing header <wchar.h> — at Initial Version
Reported by: | haberg-1 (Hans Åberg) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | catalina | Cc: | |
Port: | gcc10 |
Description
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.
Note: See
TracTickets for help on using
tickets.