|
Boost Users : |
From: Georg Gast (georg_at_[hidden])
Date: 2022-10-14 14:30:25
Thank you John, that helped!
14.10.2022 13:37:16 John Maddock via Boost-users <boost-users_at_[hidden]>:
> On 14/10/2022 10:04, Georg Gast via Boost-users wrote:
>> Hi,
>> I developed a patch and a test to serialize std::pmr::(w)strings in all 3 archive types. The test I set the requirement to <cxxstd>17. It works so far but when I compile the library for using it in my application the "hidden" functions behind "BOOST_NO_CXX17_MEMORY_RESOURCE" are not found by the linker as the define is set when the library is compiled.
>>
>> How to work around this?
>>
> Unfortunately, I think you will need to build the library with C++17 enabled, ie by added "cxxstd=17" to the b2 command line.
>
> Whether this should be the default when available is open to question I guess.
>
> John.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://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