You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Windows, the code in random_device.cpp automatically links to the library advapi32.lib.
This uses the auto_link.hpp header combined with the macro BOOST_AUTO_LINK_NOMANGLE to produce the correct library file name to link.
As of version 1.69, it is also possible to use the macro BOOST_AUTO_LINK_SYSTEM, which is exclusive with the NOMANGLE macro.
Using the former causes a link error as the library file name added by auto_link is incorrect.
I would suggest undefining the BOOST_AUTO_LINK_SYSTEM before including the auto_link header in random_device.cpp.
Under Windows, the code in random_device.cpp automatically links to the library advapi32.lib.
This uses the auto_link.hpp header combined with the macro BOOST_AUTO_LINK_NOMANGLE to produce the correct library file name to link.
As of version 1.69, it is also possible to use the macro BOOST_AUTO_LINK_SYSTEM, which is exclusive with the NOMANGLE macro.
Using the former causes a link error as the library file name added by auto_link is incorrect.
I would suggest undefining the BOOST_AUTO_LINK_SYSTEM before including the auto_link header in random_device.cpp.
random/src/random_device.cpp
Line 51 in ed7ab80
The text was updated successfully, but these errors were encountered: