[openssl-dev] MSVC 2015 internal compiler error

Jeffrey Walton noloader at gmail.com
Tue Feb 23 11:28:20 UTC 2016


> ...
> F:\MingW32\src\inet\Crypto\OpenSSL\ssl\s3_lib.c :
>   fatal error C1001: An internal error has occurred in the compiler.
>   (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 246)
>    To work around this problem, try simplifying or changing the program near the locations listed above.
>   Please choose the Technical Support command on the Visual C++
>    Help menu, or open the Technical Support help file for more information
>
> INTERNAL COMPILER ERROR in 'f:\gv\VC_2015\bin\cl.exe'
>     Please choose the Technical Support command on the Visual C++
>     Help menu, or open the Technical Support help file for more information

I've seen these mystery breaks quite a few times under the VS
compilers. Mostly it was the old days of VC++ 5.0 and 6.0, but they
crop up on occasion.

As crazy as it sounds, you might try re-ordering functions in the
headers and source files. That is, if the order is:

  void fn1(...) { ... }
  void fn2(...) { ... }
  void fn3(...) { ... }

Then try:

  void fn3(...) { ... }
  void fn1(...) { ... }
  void fn2(...) { ... }

I don't know why it works on occasion.

Jeff


More information about the openssl-dev mailing list