Boost logo

Boost Users :

Subject: Re: [Boost-users] Using boost::xpressing on Windows Store
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-09-26 12:19:46


On 9/26/2014 8:03 AM, Paula Stanciu wrote:
> Hello,
>
> I'm trying to use boost::xpressive on Windows Store and I ran into the
> following problem:
>
> Because _WIN32 is defined BOOST_XPRESSIVE_HAS_MS_STACK_GUARD gets
> defined and that causes the use of _resetstkoflw() that is not defined
> for windows sore (
> http://msdn.microsoft.com/library/windows/apps/jj606124.aspx ) and so I
> cannot compile the code that uses boost::xpressive.
>
> I think BOOST_XPRESSIVE_HAS_MS_STACK_GUARD should not be defined for
> Windows store since it does not support _resetstkoflw() ? Any idea how I
> can solve this issue? Would it be the right thing to undefine this for
> Windows Store ?

Sure. Is there some #define a program can check to see if it's being
compiled for Windows Store?

Eric


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