Skip to content

Visual Studio 2019 crash including boost/bimap.hpp #29

@dgplayer

Description

@dgplayer

`
simply #include <boost/bimap.hpp> crashes the Visual Studio 2019 compiler.
crash occurs when stdafx.h includes boost/bimap.hpp

boost_1_75_0

C/C++ project properties:

Disable language extensions: no
Conformance mode: Defailt
Wchar_t as Built-In: yes
Force loop scope: yes
enforce type conversion: not set
RTTI: not set
Open MP: not set
C++ Language Standard ISO C++ 14
C Language Standard: Default (Legacy MSVC)
Enaable experimental: not set

1>stdafx.cpp
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(161,1): fatal error C1001: Internal compiler error.
1>(compiler file 'msc1.cpp', line 1588)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>If possible please provide a repro here: https://developercommunity.visualstudio.com
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(141): message : see reference to class template instantiation 'boost::operators_impl::equality_comparable2<T,U,B>' being compiled
1> with
1> [
1> T=boost::serialization::version_type,
1> U=unsigned int,
1> B=boost::operators_impl::operators_detail::empty_baseboost::serialization::version_type
1> ]
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(421): message : see reference to class template instantiation 'boost::operators_impl::less_than_comparable2<T,U,boost::operators_impl::equality_comparable2<T,U,B>>' being compiled
1> with
1> [
1> T=boost::serialization::version_type,
1> U=unsigned int,
1> B=boost::operators_impl::operators_detail::empty_baseboost::serialization::version_type
1> ]
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(168): message : see reference to class template instantiation 'boost::operators_impl::totally_ordered2<boost::serialization::version_type,unsigned int,boost::operators_impl::operators_detail::empty_base>' being compiled
1> with
1> [
1> T=boost::serialization::version_type
1> ]
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(152): message : see reference to class template instantiation 'boost::operators_impl::equality_comparable1<T,B>' being compiled
1> with
1> [
1> T=boost::serialization::version_type,
1> B=boost::operators_impl::totally_ordered2<boost::serialization::version_type,unsigned int,boost::operators_impl::operators_detail::empty_baseboost::serialization::version_type>
1> ]
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\operators.hpp(427): message : see reference to class template instantiation 'boost::operators_impl::less_than_comparable1<T,boost::operators_impl::equality_comparable1<T,B>>' being compiled
1> with
1> [
1> T=boost::serialization::version_type,
1> B=boost::operators_impl::totally_ordered2<boost::serialization::version_type,unsigned int,boost::operators_impl::operators_detail::empty_baseboost::serialization::version_type>
1> ]
1>H:\Svn\ThirdParty-2019\boost_1_75_0\boost\serialization\serialization.hpp(52): message : see reference to class template instantiation 'boost::operators_impl::totally_ordered1<boost::serialization::version_type,boost::operators_impl::totally_ordered2<boost::serialization::version_type,unsigned int,boost::operators_impl::operators_detail::empty_base>>' being compiled
1> with
1> [
1> T=boost::serialization::version_type
1> ]
1>INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\CL.exe'
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions