|
Boost : |
From: Bhuyan, Jyotideep (JyotideepBhuyan_at_[hidden])
Date: 2024-07-10 09:31:14
Hello,
I am updating my code from boost version 1.78 to boost 1.85. and facing build issues "error C2766: explicit specialization; 'boost::core::detail::tn_holder<unsigned short>' has already been defined"
Below is the error that I am facing that needs your help. I could not find any code or direct header file inclusion in my code related to the below error.
C:\<my boost>\boost_1_85\boost\boost\core\type_name.hpp(354,2): error C2766: explicit specialization; 'boost::core::detail::tn_holder<unsigned short>' has already been defined.
C:\<my boost>\boost_1_85\boost\boost\core\type_name.hpp(273): message : see previous definition of 'tn_holder<unsigned short>
Please note that after upgrading to boost 1.85, the compiler was not able to find "#include <boost/function/detail/prologue.hpp>", I checked this file is not present in the new version. Hence, I have commented header file inclusion in my code.
I am building the code for MSVC142 (C++14) for 64-bit Windows 10 architecture.
Best Regards,
Jyotideep (JD)
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
Confidential - Company Proprietary
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk