tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: typedef int wchar_t;

Patrick Welche wrote:
> As you say, wchar_t is a C++ builtin type, so why do you bother checking
> for __ICC too?

Yes, it's a builtin type and it worries me. Why does g++ compile
it? Something's wrong but I don't know exactly what and why.

PS g++ compiles this typedef only if it appears in a file in a
system directory (-isystem option).

Home | Main Index | Thread Index | Old Index