
Thanks for the suggestion. The problem is that I'm statically linking to a
Unicode build of wxWidets, so I get unresolved external symbols such as:
"wchar_t const * const wxDialogNameStr"
"wchar_t const * const wxButtonNameStr"
"public: static void __cdecl wxObject::operator delete(void *,wchar_t const
*,int)"
"public: wchar_t const * __thiscall wxLocale::GetString(wchar_t const
*,wchar_t const *)const"
I'll have to figure out how to build wxWidgets with /Zc:wchar_t
- Keith MacDonald
"George Diamantopoulos"
Just include
after your wxwidgets include and before the boost::date one. Let me know if it works :)
George Diamantopoulos
Keith MacDonald wrote:
OK, I've found the missing compiler option: /Zc:wchar_t (treat wchar_t as a built-in type), in vc7.1-tools.jam in tools\build\v1. However, as that option breaks the wxWidgets library, I cannot use it. Can the date_time library be made to also work when wchar_t is a typedef to unsigned short?
Thanks, Keith MacDonald