Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Windows
Description
Commit https://github.com/apache/mesos/commit/17d186e379d2db3edb04743a061dc05e24c32c9b broke the Windows build:
src\mesos\src\master\constants.cpp(25): error C2466: cannot allocate an array of constant size 0
The code:
MasterInfo::Capability::Type types[] = {}; // Empty for now.
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.