> I am building an application named 'contrast'. This > application uses one of my library 'esxml4c' that has got the > code "int fullSrcCount = > std::char_traits<XMLCh>::length(srcData);" in one of it's cpp > file. Now my application is giving linking error on Solaris. > Thouhg it builds successfully on Windows. Could anybody help > me which library am I missing to include to get rid of this > undefined symbol error. I am sorry I am asking simple C++ > question out here but still would request reply.
The short answer is that you can't solve it easily. There is no built-in char_traits support for anything but char and wchar_t, and you can't implement that support without a *lot* of work. As of gcc 3.2, this became an issue, and as of 3.3, there are no easy workarounds even if you're trying to do something reasonable that doesn't require full char_traits support. -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
