...
BugZero found this defect 2759 days ago.
Per newer versions of glibc: error: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-Werror] string path = str::stream() Including appears to be the correct solution to quiet the warning
xgen-internal-githook commented on Mon, 16 Oct 2017 15:33:34 +0000: Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'} Message: SERVER-29855 Pull major/minor from sys/sysmacros.h Per newer versions of glibc: error: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-Werror] string path = str::stream() Including appears to be the correct solution to quiet the warning (cherry picked from commit e245cac2b3c18015dee8caddd449532785d15c2b) Branch: v3.0 https://github.com/mongodb/mongo/commit/235a680d55839e9a6750de13bfe051e9c50d0240 xgen-internal-githook commented on Mon, 2 Oct 2017 14:30:36 +0000: Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'} Message: SERVER-29855 Pull major/minor from sys/sysmacros.h Per newer versions of glibc: error: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-Werror] string path = str::stream() Including appears to be the correct solution to quiet the warning (cherry picked from commit e245cac2b3c18015dee8caddd449532785d15c2b) Branch: v3.4 https://github.com/mongodb/mongo/commit/a591ea35475134f982ccc461fa966ec6ae48b634 xgen-internal-githook commented on Mon, 2 Oct 2017 14:30:02 +0000: Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'} Message: SERVER-29855 Pull major/minor from sys/sysmacros.h Per newer versions of glibc: error: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-Werror] string path = str::stream() Including appears to be the correct solution to quiet the warning (cherry picked from commit e245cac2b3c18015dee8caddd449532785d15c2b) Branch: v3.2 https://github.com/mongodb/mongo/commit/65507e2a2a3fecdd726415bb05dc624d1fcaa63b acm commented on Fri, 22 Sep 2017 12:19:44 +0000: Hi hydrapolic - I've just now marked this ticket for backport to request backport to 3.2 and 3.4. We will evaluate whether to do the backport the next time we triage open backport requests. hydrapolic commented on Fri, 22 Sep 2017 10:04:05 +0000: Can you please backport to 3.2/3.4? xgen-internal-githook commented on Mon, 26 Jun 2017 17:40:41 +0000: Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'} Message: SERVER-29855 Pull major/minor from sys/sysmacros.h Per newer versions of glibc: error: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-Werror] string path = str::stream() Including appears to be the correct solution to quiet the warning Branch: master https://github.com/mongodb/mongo/commit/e245cac2b3c18015dee8caddd449532785d15c2b