[winrt support] Changes to make Boost System work on the Windows Runtime.#3
Conversation
Basically just use FormatMessageW without FORMAT_MESSAGE_FROM_SYSTEM.
|
Please note this change depends on an outstanding pull request I have on the Config library to define BOOST_NO_ANSI_APIS. |
|
Where is the #include <boost/predef/platform.h>? Or am I missing something. (I've not used Boost.Predef before) Thanks, --Beman |
|
Hum.... I guess I should have written <boost/predef/platform.h> --Beman |
|
It's transitively pulled in from the pull request I referenced in Boost.Config. All that is needed is to include boost/predef.h. |
|
On Tue, May 27, 2014 at 5:43 PM, stgates notifications@github.com wrote:
I just figured that out. By the way, did you mean to reference a file to --Beman |
|
On Tue, May 27, 2014 at 5:49 PM, Beman Dawes bdawes@acm.org wrote:
Hummm. It is even worse than that. What happens depends on whether you --Beman |
|
Yes it got messed up. To be clear here the code as it stands in this pull request will work fine because the boost\predef.h header file is being pulled in transitively from boost\config.hpp. Once the pull request I have in Boost.Config gets merged this one can as well. Perhaps I could have waited, but I figured send it now and I can address any feedback without have to wait. Thanks, |
[winrt support] Changes to make Boost System work on the Windows Runtime.
Basically just use FormatMessageW without FORMAT_MESSAGE_FROM_SYSTEM. Determining whether the Windows Runtime is currently being targeted is done with a Boost Predef.