[MacPorts] #60449: gcc10 missing header <wchar.h>
MacPorts
noreply at macports.org
Fri May 8 12:33:32 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 haberg-1):
I also get the same error with gcc9, as below. However, it works with
clang-10: the issue arose with the binary at https://llvm.org, fixable by
the same workaround, but somehow, you have fixed it.
--
% /opt/local/bin/g++-mp-9 test.cpp -o test
test.cpp:1:10: fatal error: wchar.h: No such file or directory
1 | #include <wchar.h>
| ^~~~~~~~~
compilation terminated.
--
% /opt/local/bin/clang++-mp-10 test.cpp -o test
<no diagnostic>
--
--
Ticket URL: <https://trac.macports.org/ticket/60449#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list