You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/11/30 00:26:00 UTC

[jira] [Assigned] (MESOS-8277) Use of GCC extension broke Windows build

     [ https://issues.apache.org/jira/browse/MESOS-8277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schwartzmeyer reassigned MESOS-8277:
-------------------------------------------

    Assignee: Akash Gupta  (was: Benno Evers)

> 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)