gcc48 error on Mavericks

Shiyuan gshy2014 at gmail.com
Fri Jan 10 18:53:26 PST 2014


Hi all,
   I am on OS 10.9 Mavericks. I install gcc48 from macport. However, I got
the follow error when I compile HelloWorld. What might go wrong? Thanks.

In file included from /opt/local/include/gcc48/c++/bits/postypes.h:40:0,

                 from /opt/local/include/gcc48/c++/iosfwd:40,

                 from /opt/local/include/gcc48/c++/ios:38,

                 from /opt/local/include/gcc48/c++/ostream:38,

                 from /opt/local/include/gcc48/c++/iostream:39,

                 from HelloWorld.cpp:5:

/opt/local/include/gcc48/c++/cwchar:44:19: fatal error: wchar.h: No such
file or directory

 #include <wchar.h>

                   ^

compilation terminated.


Shiyuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140110/06beba52/attachment.html>


More information about the macports-users mailing list