question about compile the boost head file.

xiongzhiyong via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <[email protected]>
hi anybody,
I meet a problem when I try to compile the following  program. 

#include <boost\exception\info.hpp>

void main()
{
    return;
}
The compile environment is Microsoft Visual Studio Community 2022 (64 位) - ver. 17.2.6.Compile error information is that C2259    “boost::exception_detail::error_info_container_impl”:  cannot instantiate abstract class.I try many Boost versions,e.g.,boost 79,boost 65,boost64,boost60. They all give errors.

Anybody can give me some suggestions?
Best regards,
zhiyong



--------------------------------

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.