Eric Fiselier
692177d022
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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242623 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-18 20:40:46 +00:00
..
2015-05-13 16:55:41 +00:00
2015-06-13 07:08:02 +00:00
2015-02-28 20:18:39 +00:00
2015-02-05 20:28:37 +00:00
2015-07-17 16:36:44 +00:00
2015-03-10 07:57:43 +00:00
2015-07-10 23:29:18 +00:00
2015-04-19 15:32:52 +00:00
2015-02-10 16:48:45 +00:00
2015-07-18 20:40:46 +00:00
2015-03-11 17:00:28 +00:00
2014-09-05 19:45:05 +00:00
2015-02-05 02:34:59 +00:00
2015-07-13 20:04:56 +00:00
2015-02-13 22:15:32 +00:00
2015-07-18 20:40:46 +00:00
2015-07-13 20:04:56 +00:00
2015-03-17 15:08:03 +00:00
2015-02-13 22:15:32 +00:00
2013-11-15 23:41:01 +00:00
2015-06-02 13:52:16 +00:00
2015-03-17 15:08:03 +00:00
2015-07-14 17:50:27 +00:00
2014-06-04 15:46:56 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-02-13 22:15:28 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2014-09-02 21:14:38 +00:00
2015-03-16 14:27:44 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-06-24 08:44:38 +00:00
2014-12-12 22:52:58 +00:00
2015-03-18 15:24:18 +00:00
2013-08-27 14:22:13 +00:00
2013-10-05 21:19:49 +00:00
2011-10-17 20:05:10 +00:00
2014-09-05 19:45:05 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2014-05-16 01:45:02 +00:00
2011-10-17 20:05:10 +00:00
2015-03-26 14:35:46 +00:00
2015-06-24 08:44:38 +00:00
2015-06-24 08:44:38 +00:00
2011-10-17 20:05:10 +00:00
2015-06-24 08:44:38 +00:00
2015-03-26 14:35:46 +00:00
2011-10-17 20:05:10 +00:00
2015-07-13 20:04:56 +00:00
2015-06-13 07:08:02 +00:00
2015-07-13 20:04:56 +00:00
2015-03-12 15:44:39 +00:00
2015-07-18 20:40:46 +00:00
2015-06-30 18:28:35 +00:00
2013-08-26 20:11:32 +00:00
2014-03-07 21:45:32 +00:00
2014-09-05 20:28:44 +00:00
2015-02-03 15:34:17 +00:00
2015-03-26 14:35:46 +00:00
2014-09-17 01:58:15 +00:00
2015-04-16 21:36:54 +00:00
2014-11-26 17:51:58 +00:00
2015-07-13 20:04:56 +00:00
2015-07-06 15:37:40 +00:00
2015-07-13 20:04:56 +00:00
2015-07-18 20:40:46 +00:00
2015-02-13 22:15:32 +00:00
2015-07-07 00:27:16 +00:00
2015-05-19 02:03:22 +00:00
2014-10-27 19:28:20 +00:00
2015-06-22 15:01:21 +00:00
2015-02-18 17:51:56 +00:00
2015-03-10 07:46:06 +00:00
2015-05-20 03:15:01 +00:00
2015-03-19 17:05:59 +00:00
2015-06-03 16:15:55 +00:00
2015-05-10 13:35:00 +00:00
2015-06-30 14:04:14 +00:00
2014-09-16 18:57:52 +00:00
2015-02-18 17:51:56 +00:00
2015-02-05 07:40:48 +00:00
2015-02-19 16:17:46 +00:00
2015-07-18 20:40:46 +00:00
2013-03-06 23:30:19 +00:00
2013-08-24 21:31:37 +00:00
2011-10-17 20:05:10 +00:00
2014-12-08 14:50:21 +00:00
2015-06-13 07:08:02 +00:00
2015-07-18 16:43:58 +00:00
2013-08-12 18:38:34 +00:00
2014-04-03 09:12:38 +00:00
2015-07-13 20:04:56 +00:00
2015-07-13 20:04:56 +00:00
2015-03-17 15:08:03 +00:00
2015-02-13 22:15:32 +00:00
2015-07-18 18:22:12 +00:00