[vtkusers] Will VTK 6.3 support Visual Studio 2015?

Niels Dekker - address until 2018 niels_dekker_address_until_2018 at xs4all.nl
Wed Aug 5 17:25:06 EDT 2015


Thanks for your feedback, Ben, I'm glad you like my "SSCCE" -- Short, 
Self Contained, Correct Example.

On 05 Aug 2015 8:04 PM, Sean McBride wrote:
> If you want to squeeze it even further, you might try C-Reduce:
> <http://embed.cs.utah.edu/creduce/>

Thanks for the suggestion, Sean, I haven't tried it yet, but please 
let me know if you can significantly simplify the example code 
<http://public.kitware.com/pipermail/vtkusers/2015-August/091761.html>, while 
"preserving" the internal compiler error.

The example code triggers an internal compiler error on both 32-bits 
and 64-bits optimized ("/O2") compilations. However, it appears to me 
that this compiler optimization bug does not (!) appear when Whole 
Program Optimization ("/GL") is switched on.  Which sounds like a good 
idea anyway: https://msdn.microsoft.com/en-us/library/0zza0de8.aspx 
Ben, can you try out "/GL" on your VTK Release build, to see if that 
solves the problem for you as well?

Note that you can also try out the example from 
http://public.kitware.com/pipermail/vtkusers/2015-August/091761.html 
at Microsoft's online compiler, by adding "/O2" to the Additional 
compiler flags: http://webcompiler.cloudapp.net/

It tells me (Compiler version: 19.00.23106.0(x86)):

   Compiled with /O2 /EHsc /nologo /W4 /c
   main.cpp
 
e:\sitesroot\0\input\69b1f34e-a4da-4593-9fdf-66090596a884\main.cpp(21) 
: fatal error C1001: An internal error has occurred in the compiler.
   (compiler file 
's:\dd\feature\wcfb01\src\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
     c2!VECT_GenOpIntrinsic()+0x3c
     s:\dd\feature\wcfb01\src\vctools\compiler\utc\src\p2\vect_cg.cpp 
Line 107
     ...
     c2!WorkerThreadMain()+0x11b
     s:\dd\feature\wcfb01\src\vctools\compiler\utc\src\p2\main.c Line 5039

   INTERNAL COMPILER ERROR in 'c:\tools_root\cl\bin\i386\cl.exe'
     Please choose the Technical Support command on the Visual C++
     Help menu, or open the Technical Support help file for more 
information


Kind regards, Niels


More information about the vtkusers mailing list