Compilation Errors

VallabhaN VallabhaN@bristol.com
Wed Aug 21 00:06:00 GMT 2002


Hi All,

     I hitting some compilation errors while compiling a .cpp file. I am using
gcc 3.1 on Red Hat 7.2 (32 bit m/c). The errors says something like;

In file included from /usr/gcc31/include/g++-v3/bits/fpos.h:45,
                 from /usr/gcc31/include/g++-v3/iosfwd:46,
                 from /usr/gcc31/include/g++-v3/streambuf:46,
                 from /usr/gcc31/include/g++-v3/backward/streambuf.h:32,
                 from chatdoc.cpp:14:
/usr/gcc31/include/g++-v3/cwchar:142: `fwide' not declared
/usr/gcc31/include/g++-v3/cwchar:145: `getwc' not declared
/usr/gcc31/include/g++-v3/cwchar:146: `getwchar' not declared
/usr/gcc31/include/g++-v3/cwchar:149: `mbsinit' not declared
/usr/gcc31/include/g++-v3/cwchar:152: `putwchar' not declared
/usr/gcc31/include/g++-v3/cwchar:157: `vfwscanf' not declared
/usr/gcc31/include/g++-v3/cwchar:159: `vswscanf' not declared
/usr/gcc31/include/g++-v3/cwchar:161: `vwscanf' not declared
/usr/gcc31/include/g++-v3/cwchar:176: `wcstof' not declared
/usr/gcc31/include/g++-v3/cwchar:182: `wmemcmp' not declared
/usr/gcc31/include/g++-v3/cwchar:183: `wmemcpy' not declared
/usr/gcc31/include/g++-v3/cwchar:184: `wmemmove' not declared
/usr/gcc31/include/g++-v3/cwchar:185: `wmemset' not declared


     Anything wrong with my gcc installtion?. Looking at these errors I guess
there is nothing wrong with souce file which I am compiling. Any idea how to
solve this?

Thanks
-VN




More information about the Gcc-help mailing list