Boost logo

Boost :

Subject: Re: [boost] [review] Outcome: internal compiler error
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2018-01-26 23:54:54


> I have put together the following sample program to test integration
> of Outcome into Boost.Beast:
>
> #include <boost/outcome.hpp>
> int main(int argc, char** argv)
> {
> }
>
> The result of compilation for this translation unit is shown here:
>
> 1>c:\users\vinnie\src\boost\boost\outcome\detail\value_storage.hpp(141):
> 1>fatal error C1001: An internal error has occurred in the compiler.
> 1>(compiler file 'msc1.cpp', line 1507)
>
> Compiler used: MSVC
> Part of: Microsoft Visual Studio Community 2017 Version 15.5.1
>
> Upon investigation, I discovered a newer version of the compiler and IDE.
> Updating to "Version 15.5.5" produced the following results when compiling
> the same translation unit:
>
> 1>c:\users\vinnie\src\boost\boost\outcome\detail\value_storage.hpp(141):
> 1>fatal error C1001: An internal error has occurred in the compiler.
> 1>(compiler file 'msc1.cpp', line 1507)
>
> Is this a supported configuration?

It certainly is. Microsoft itself runs Outcome as part of the Visual
Studio compiler validation suite!

Can I confirm that you are running Boost 1.66 and that the ICE causing
file solely consists of including boost/outcome.hpp, and an empty main()
function?

(BTW, did you try having main() return 0?)

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk