[ https://issues.apache.org/jira/browse/MESOS-8277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Schwartzmeyer updated MESOS-8277: ---------------------------------------- Shepherd: Andrew Schwartzmeyer (was: Vinod Kone) > Use of GCC extension broke Windows build > ---------------------------------------- > > Key: MESOS-8277 > URL: https://issues.apache.org/jira/browse/MESOS-8277 > Project: Mesos > Issue Type: Bug > Environment: Windows > Reporter: Andrew Schwartzmeyer > Assignee: Akash Gupta > Priority: Blocker > > Commit > https://github.com/apache/mesos/commit/17d186e379d2db3edb04743a061dc05e24c32c9b > broke the Windows build: > {noformat} > src\mesos\src\master\constants.cpp(25): error C2466: cannot allocate an array > of constant size 0 > {noformat} > The code: > {noformat} > MasterInfo::Capability::Type types[] = {}; // Empty for now. > {noformat} > Is not valid C++ code, it is instead a GCC extension (and so is not available > with MSVC, and possibly also not available with Clang). > This is a blocking bug because the build is broken. -- This message was sent by Atlassian JIRA (v6.4.14#64029)