|
Boost Users : |
From: Keith MacDonald (boost_at_[hidden])
Date: 2004-03-14 13:54:35
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" <gxd186_at_[hidden]> wrote in message
news:4054A1EC.6030101_at_bham.ac.uk...
> Just include <wctype.h> 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
> >
> >
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net