freebsd-dev/contrib/libc++/include
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
..
experimental Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
ext Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__bit_reference Pull in r228344 from upstream libc++ trunk (by Eric Fiselier): 2015-03-07 22:53:15 +00:00
__config Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__debug Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__functional_03 Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__functional_base Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__functional_base_03 Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__hash_table Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
__locale Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__mutex_base Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
__refstring Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__split_buffer Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__sso_allocator Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__std_stream Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
__tree Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__tuple Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__undef___deallocate Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
__undef_min_max Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
algorithm Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
array Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
atomic Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
bitset Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
cassert
ccomplex
cctype Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cerrno
cfenv
cfloat
chrono Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
cinttypes Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
ciso646
climits
clocale Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cmath Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
codecvt Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
complex Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
complex.h
condition_variable Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
csetjmp
csignal
cstdarg
cstdbool
cstddef Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
cstdint
cstdio Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cstdlib Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cstring Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
ctgmath
ctime Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cwchar Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
cwctype
deque Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
exception Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
forward_list Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
fstream Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
functional Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
future Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
initializer_list Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
iomanip Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
ios Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
iosfwd Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
iostream Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
istream Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
iterator Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
limits Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
list Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
locale Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
map Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
memory Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
module.modulemap Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
mutex Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
new Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
numeric Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
ostream Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
queue Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
random Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
ratio Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
regex Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
scoped_allocator Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
set Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
shared_mutex Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
sstream Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
stack Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
stdexcept Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
streambuf Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
string Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
strstream Merge libc++ trunk r180598. Contains several minor cleanups and bug 2013-04-27 22:47:52 +00:00
system_error Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
tgmath.h
thread Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
tuple Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
type_traits Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
typeindex Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
typeinfo Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
unordered_map Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
unordered_set Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
utility Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
valarray Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00
vector Update libc++ to 3.7.0 release. 2015-09-16 22:26:52 +00:00