Skip to content

Universal windows #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 8, 2015
Merged

Universal windows #18

merged 5 commits into from
Oct 8, 2015

Conversation

mauve
Copy link
Contributor

@mauve mauve commented Oct 8, 2015

Add support for universal windows (aka winrt, windows store).

Instead of just disabling all Win32 "extensions" by just defining BOOST_REGEX_NO_W32 I opted to disable just the parts which need disabling. This way BOOST_REGEX_HAS_MS_STACK_GUARD will still be defined when targeting uwp.

w32_regex_traits has been disabled because it uses LCID which has been deprecated since Vista and LCID no longer available in windows store (somewhat true).

However an interesting fact is that the c++ locale actually works with the locale-names supported since Vista as can be seen from this dirty little test program:

https://gist.github.com/mauve/fd5feb08333bda97f06b

mauve added 5 commits October 8, 2015 09:36
Just as on VC10 this causes linker errors with std::collate<unsigned short>::id.
Since Vista LCID has been deprecated and locales are now using string-names,
this makes the effort to support w32_regex_traits quite large, therefore we
opt to disable w32_regex_traits right now when targeting universal-windows.
@jzmaddock
Copy link
Collaborator

Thanks!

jzmaddock added a commit that referenced this pull request Oct 8, 2015
@jzmaddock jzmaddock merged commit 59cc22d into boostorg:develop Oct 8, 2015
@mauve
Copy link
Contributor Author

mauve commented Oct 8, 2015

AWESOMESAUCE! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants