[boost 1.85.0 MSVC142-64 ]type_name.hpp(354,2): error C2766: explicit specialization; 'boost::core::detail::tn_holder<unsigned short>' has already been defined
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
On 7/10/24 12:31, Bhuyan, Jyotideep via Boost wrote:
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
", 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.
I think it has already been reported and fixed: https://github.com/boostorg/core/issues/173
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
I'm ignoring any such notices. Please remove them in your future public posts.
Am 10.07.24 um 11:50 schrieb Andrey Semashev via Boost:
On 7/10/24 12:31, Bhuyan, Jyotideep via Boost wrote:
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> I think it has already been reported and fixed:
You can wait for the 1.86 release where this fix will be included or apply the commit as a patch to your Boost installation: https://github.com/boostorg/core/commit/3f36d507f2cd9ba55716336c3fb1843d9518...
participants (3)
-
Alexander Grund
-
Andrey Semashev
-
Bhuyan, Jyotideep