commit | b0d5be563b65ac06ff8b470a6069edd711233136 | [log] [tgz] |
---|---|---|
author | Logan Chien <[email protected]> | Sat Dec 14 06:45:09 2013 |
committer | Logan Chien <[email protected]> | Sat Dec 14 06:45:09 2013 |
tree | 9a62e69359f8b5857cde89be5d8193eaa405e86c | |
parent | ca83921ddc4f80f2248638599df50a41fbfb1e08 [diff] |
Fix GCC unknown pragma warning in libc++. We should check defined(__clang__) before the usage of the clang diagnostic pragmas. The [-Wswitch] warning in src/future.cpp should be ignored. As the result, the equivalent GCC pragma is added. llvm-svn: 197314