-
Type:
Bug
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Internal Code
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Backport Completed:
-
Steps To Reproduce:
-
Sprint:Platform 6 07/17/15
When I build with gcc 5.1 (default GCC on Fedora 22), I see warnings from the boost library.
My particular compiler version:
$ gcc --version
|
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
This is free software; see the source for copying conditions. There is NO
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
$ g++ --version
|
g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
This is free software; see the source for copying conditions. There is NO
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
The build warnings are:
In file included from src/third_party/boost-1.56.0/boost/filesystem/path_traits.hpp:23:0,
|
from src/third_party/boost-1.56.0/boost/filesystem/path.hpp:25,
|
from src/third_party/boost-1.56.0/boost/filesystem/operations.hpp:25,
|
from src/mongo/db/db.cpp:35:
|
src/third_party/boost-1.56.0/boost/system/error_code.hpp:221:36: error: 'boost::system::posix_category' defined but not used [-Werror=unused-variable]
|
static const error_category & posix_category = generic_categor
|
^
|
src/third_party/boost-1.56.0/boost/system/error_code.hpp:222:36: error: 'boost::system::errno_ecat' defined but not used [-Werror=unused-variable]
|
static const error_category & errno_ecat = generic_categor
|
^
|
src/third_party/boost-1.56.0/boost/system/error_code.hpp:223:36: error: 'boost::system::native_ecat' defined but not used [-Werror=unused-variable]
|
static const error_category & native_ecat = system_category
|
^
|
cc1plus: all warnings being treated as errors
|
|