Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-05 Thread Stephan Bergmann
On 04/12/2018 14:18, Kaganski Mike wrote: Reported that to https://developercommunity.visualstudio.com/content/problem/398218/c2131-error-with-stdarray-and-stdmake-integer-sequ.html. As noted there, I have discovered the code to succeed if I replace 256 to any number up to 234. So lets revert

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-04 Thread Kaganski Mike
On 04.12.2018 14:18, Kaganski Mike wrote: > On 04.12.2018 14:17, Kaganski Mike wrote: >> >> I have just pulled, and I confirm this with 64-bit build, with VS >> version 15.9.3. >> > > I mean, I confirm that with my version of compiler, the problem is > reproducible. > _

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-04 Thread Kaganski Mike
On 04.12.2018 14:17, Kaganski Mike wrote: > > I have just pulled, and I confirm this with 64-bit build, with VS > version 15.9.3. > I mean, I confirm that with my version of compiler, the problem is reproducible. ___ LibreOffice mailing list LibreOffi

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-04 Thread Kaganski Mike
On 04.12.2018 10:37, Stephan Bergmann wrote: > > Our recently-bumped MSVC baseline is Visual Studio 2017 version 15.7 > (the "version 15.7" suffix is important, there are many different > releases of Visual Studio 2017, with ever-increasing C++ standard > compliance).  That should be enforced b

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-03 Thread Stephan Bergmann
On 04/12/2018 02:54, Luke Benes wrote: After commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=644188bf7f3a Compute (un-)premultiply_table at compile time I'm seeing the following build failure on Windows 32-bit release build: D:/core/vcl/source/bitmap/BitmapTools.cxx(1078):

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-03 Thread Kaganski Mike
On 04.12.2018 9:30, Noel Grandin wrote: > > >> I'm seeing the following build failure on Windows 32-bit release build: >> D:/core/vcl/source/bitmap/BitmapTools.cxx(1078): error C2131: >> expression did not evaluate to a constant >> D:/core/vcl/source/bitmap/BitmapTools.cxx(1097): error C2131: >

Re: Windows build failure - C2131: expression did not evaluate to a constant

2018-12-03 Thread Noel Grandin
I'm seeing the following build failure on Windows 32-bit release build: D:/core/vcl/source/bitmap/BitmapTools.cxx(1078): error C2131: expression did not evaluate to a constant D:/core/vcl/source/bitmap/BitmapTools.cxx(1097): error C2131: expression did not evaluate to a constant make[1]: ***

Windows build failure - C2131: expression did not evaluate to a constant

2018-12-03 Thread Luke Benes
After commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=644188bf7f3a Compute (un-)premultiply_table at compile time I'm seeing the following build failure on Windows 32-bit release build: D:/core/vcl/source/bitmap/BitmapTools.cxx(1078): error C2131: expression did not evaluate