wchar_t

Why __WCHAR_t in sys/target_nto.h defined as wchar_t in C++ and _Unit32t in
C. wchar_t does exists in C?

Oh maybe it doesn’t with 2.9.3?

  • Mario

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:e98k2o$p6d$1@inn.qnx.com

Why __WCHAR_t in sys/target_nto.h defined as wchar_t in C++ and _Unit32t
in C. wchar_t does exists in C?

In C, wchar_t is an identifier that a header defines to be a typedef. In
C++, wchar_t is a keyword.