Re: [Opensg-users] OpenSG2: vs2017 Optimization error

2017-11-30 Thread Johannes
Hello Michael, On 30.11.2017 11:36, Michael Raab wrote: I must revise my comments ;-) The problem was not the compiler.. Before updating vs2017 we pulled the recent opensg source from git. There's a commit from 21.08.2016 which breaks the suspicious function. Line 318 was commented out, but

Re: [Opensg-users] OpenSG2: vs2017 Optimization error

2017-11-30 Thread Michael Raab
: Dienstag, 28. November 2017 um 16:33 Uhr Von: "Carsten Neumann" <carsten.p.neum...@gmail.com> An: opensg-users@lists.sourceforge.net, "Michael Raab" <michael-r...@gmx.de> Betreff: Re: [Opensg-users] OpenSG2: vs2017 Optimization error Hello Michael, On 2017-11-28 05:14, Mi

Re: [Opensg-users] OpenSG2: vs2017 Optimization error

2017-11-28 Thread Johannes
Hello Michael, > Do you have any ideas how to fix this without deactivating optimizations? First I would try to refactor the code a little. Maybe that is enough to get the compiler back in line. You could for instance move the declaration of index up out of the loop. If that does not solve the