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...

Jeff


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