| commit | 539fc831704615b41d69902b8588117cbde1cd28 | [log] [tgz] |
|---|---|---|
| author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 21 00:51:25 2013 |
| committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 21 00:51:25 2013 |
| tree | 2101545ff9474dda0f1c16279533170f84ce262f | |
| parent | e3ff3643d7a12390091024146c255e99a328ed33 [diff] |
When using C++11, use static_assert to implement COMPILE_ASSERT. Tag COMPILE_ASSERT with ALLOW_UNUSED for non-C++11 GCC 4.8, which otherwise produces warnings under -Wunused-local-typedefs. That warning is currently disabled in Chromium (r194779), but the ultimate goal should be to enable that warning. BUG=321833 R=thakis@chromium.org Review URL: https://codereview.chromium.org/77343005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236356 0039d316-1c4b-4281-b951-d872f2087c98