1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/contrib/libc++
Dimitry Andric fe9390e7a1 Pull in r242623 from upstream libc++ trunk (by Eric Fiselier):
Enable and fix warnings during the build.

  Although CMake adds warning flags, they are ignored in the libc++ headers
  because the headers '#pragma system header' themselves.

  This patch disables the system header pragma when building libc++ and fixes
  the warnings that arose.

  The warnings fixed were:
  1. <memory> - anonymous structs are a GNU extension
  2. <functional> - anonymous structs are a GNU extension.
  3. <__hash_table> - Embedded preprocessor directives have undefined behavior.
  4. <string> - Definition is missing noexcept from declaration.
  5. <__std_stream> - Unused variable.

This should fix building world (in particular libatf-c++) with -std=c++11.

Reported by:	Oliver Hartmann <ohartman@zedat.fu-berlin.de>
2015-10-09 21:04:28 +00:00
..
include Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
src Remove empty line again from libc++'s iostream.cpp. This was used to 2015-10-09 18:23:10 +00:00
CREDITS.TXT Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
FREEBSD-upgrade
LICENSE.TXT Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00