|
Boost Users : |
Subject: Re: [Boost-users] Using boost::xpressive on Windows Store
From: Paula Stanciu (paula.stanciu_at_[hidden])
Date: 2014-09-27 05:56:01
Thanks Eric. Yes, it's if the WINAPI_FAMILY is set to WINAPI_PARTION_APP.
Should I submit a patch with the changes I think should be done in this
case ? It's actually just adding and extra check in xpressive_fwd.hpp
before BOOST_XPRESSIVE_HAS_MS_STACK_
GUARD is defined. ( e.g. (WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)) )
Best regards,
Paula
On Fri, Sep 26, 2014 at 6:19 PM, Eric Niebler <eniebler_at_[hidden]> wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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