tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
typedef int wchar_t;
I'm making wip/icc11 (Intel C++ compiler 11.1) package for NetBSD and I've run
into a problem. The C++ compiler fails on
typedef int wchar_t;
line because wchar_t is C++ builtin type and it can't be redefined. On all
other BSDs this line is guarded by #ifndef __cplusplus.
http://monkey.org/openbsd/archive2/source-changes/199911/msg00791.html
http://svn.freebsd.org/viewvc/base?view=revision&revision=99640
(dragonflybsd site is currently unvailable)
Is there any reason why there is no __cplusplus guard on NetBSD?
PS the C compiler works fine, I built (with few hacks, though) and ran
x11/modular-xorg-server with x11/xf86-video-intel driver and wm/ratpoison.
Thanks,
Alex
Home |
Main Index |
Thread Index |
Old Index