You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2017/04/06 17:20:41 UTC
[jira] [Created] (MESOS-7365) Compile error with recent glibc
Neil Conway created MESOS-7365:
----------------------------------
Summary: Compile error with recent glibc
Key: MESOS-7365
URL: https://issues.apache.org/jira/browse/MESOS-7365
Project: Mesos
Issue Type: Bug
Reporter: Neil Conway
{noformat}
../../mesos/src/slave/containerizer/mesos/isolators/gpu/isolator.cpp:152:13: error: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>. [-Werror]
entry.selector.major = major(device.get());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{noformat}
Observed on recent Arch Linux, GCC 6.3.1, glibc 2.25-1.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)