Boost logo

Boost-Build :

From: sn_pramod (sn_pramod_at_[hidden])
Date: 2005-11-14 09:48:23


--- In jamboost_at_[hidden], "John Maddock" <john_at_j...> wrote:
>
> > Just to confirm do I need to run boost configuration script
before
> > building regex ?
>
> No. That won't address these problems anyway.
>
> > Now I have replaced the line which #elif 0. It is allowing to
> > compile
> > But in file "/boost/regex/v4/perl_matcher.hpp" same error is
> > coming
> > ERROR : "/boost/regex/v4/perl_matcher.hpp:53:28: error: missing
> > binary operator before token "0"" .
>
> Oh shucks.
>
> > Do I need to replace the line with #if 0.Will it not effect any
> > functionality?
>
> Ideally figure out whether WCHAR_MIN is or should be zero or not,
and then
> figure out which preprocessor branch would have been taken if
WCHAR_MIN
> wasn't broken. BTW can you find out what WCHAR_MIN actually does
expand to?
>
> John.
>

I checked the value of "WCHAR_MIN" by executing the following
program

#include <iostream>
int main ( )
{
std::cout << WCHAR_MIN << std::endl;
}
o/p : 0,

But the g++ -E ( preprocessor) output is
int main ( )
{
std::cout << (wchar_t)0 << std::endl;
}

WCHAR_MIN is expanding as *(wchar_t)0*

regards
Pramod

 


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