Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-08-18 10:50:47

On Wed, 18 Aug 2004 11:25:48 -0400, Gordon Smith wrote
> The following sample will not compile with the following settings (I
> know it has been discussed with regards to the regex library
> previously) - this code compiles fine in 1_31: "Character set":
> "Use Multi-Byte Character Set" (I am targetting win 95/98) "Treat
> wchar_t as Built-in Type (/Zc:wchar_t)": "No"
> The contrived example demonstrates why I can't turn "/Zc:wchar_t" on:
> #include "stdafx.h"
> #include <comutil.h>
> #include <boost/date_time/gregorian/gregorian.hpp>
> int _tmain(int argc, _TCHAR* argv[])
> {
> _variant_t var("Narrow String");
> return 0;
> }

Could you provide the compiler output -- I don't have access to VC7.1 here.
date_time has been extended to allow wide char output since 1_31, so it is
possible it is something we changed...


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at