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@boost.org> 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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users