hi, My code using wstring and wchar_t does not compile. I realized that "_GLIBCPP_USE_WCHAR_T" was undefined in c++config.h file and defined it. It cleared the first error ( i guess) but resulted in further errors like below from the cwchar header. /gcc/3.2.1/include/c++/3.2.1/cwchar:137: `btowc' not declared /gcc/3.2.1/include/c++/3.2.1/cwchar:142: `fwide' not declared /gcc/3.2.1/include/c++/3.2.1/cwchar:143: `fwprintf' not declared /gcc/3.2.1/include/c++/3.2.1/cwchar:144: `fwscanf' not declared /gcc/3.2.1/include/c++/3.2.1/cwchar:147: `mbrlen' not declared Can someone tell me what needs to be done? Thanks