From: Samuel DEBIONNE (dj_samy_at_[hidden])
Date: 2005-04-01 10:45:42
I'm encountering a problem to build the date_time library with BBv2
under NT with msvc 7.1. I believe this problem has already been
mentioned in this news group, but I prefer to remember it shortly:
bjam --v2 libs/date_time/build
gives an error in boost\lexical_cast.hpp(150) : error C2679. (no
operator found which takes a right-hand operand of type 'type' (or
there is no acceptable conversion)). And other following messages...
The same code (fortunately!) compiled well with BBv1. So I compared
the compiler "cl" command lines called by bjam and find out that he
only difference that makes it work (v1) or not (v2) is
the /Zc:wchar_t option that makes wchar_t become a native type. I
don't see any straight relation between this option and the error...
Finally, I would like some help to implement a fix that would add
the /Zc:wchar_t option either all the time when msvc toolset is used
or only for some specified Jamefiles.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk