MSVC 2015's broken static initializer_list causing build failure

Luke Benes lukebenes at hotmail.com
Fri Dec 16 21:53:00 UTC 2016


When I try to build with MSVC 2015 I get the following error:
checking whether C:/PROGRA~2/MICROS~1.0/VC/bin/amd64/cl.exe has broken static initializer_list support... yes
configure: error: working support for static initializer_list needed
Error running configure at ./autogen.sh line 281.

$ git bisect bad
721116c7ade10d76e3ed6832e3988c91427ba431 is the first bad commit
commit 721116c7ade10d76e3ed6832e3988c91427ba431
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 15 08:54:08 2016 +0100

    Phase out support for HAVE_BROKEN_STATIC_INITIALIZER_LIST

    ...I'm pondering a change that would make that a hard requirement, and from the
    comment in configure.ac it looks like only old Clang < 3.4 were affected.

MSVC 2013 works fine. Is this a flaw in the detection logic or does it really lack support? 

  
   


More information about the LibreOffice mailing list