diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-07-18 20:40:46 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-07-18 20:40:46 +0000 |
commit | 87a82490fc6b89fd3dfe033054e1bdc6b87fd9f4 (patch) | |
tree | a46ba3cd7c970a70e9b3dd8c5c7cc40b7aada192 /libcxx/test/std/language.support/support.dynamic/alloc.errors | |
parent | a1e0aa5020209dad9c03a4dfa704a138e9ce89b5 (diff) | |
download | bcm5719-llvm-87a82490fc6b89fd3dfe033054e1bdc6b87fd9f4.tar.gz bcm5719-llvm-87a82490fc6b89fd3dfe033054e1bdc6b87fd9f4.zip |
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.
llvm-svn: 242623
Diffstat (limited to 'libcxx/test/std/language.support/support.dynamic/alloc.errors')
0 files changed, 0 insertions, 0 deletions