aboutsummaryrefslogtreecommitdiff
path: root/update_file_lists.sh
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-07-17 14:16:03 -0700
committerNico Weber <nicolasweber@gmx.de>2015-07-17 14:18:36 -0700
commit56a90a2081379a5286edf0eea70aa2000e26c7f9 (patch)
tree70faa85e8c3d7f78a99da2e4f3a64fdff14b5a38 /update_file_lists.sh
parent798ed10e7ac36d64790edc06cf378f04598911c5 (diff)
downloadprotobuf-56a90a2081379a5286edf0eea70aa2000e26c7f9.tar.gz
protobuf-56a90a2081379a5286edf0eea70aa2000e26c7f9.tar.bz2
protobuf-56a90a2081379a5286edf0eea70aa2000e26c7f9.zip
Let GOOGLE_COMPILE_ASSERT use static_assert if available.
The motivation is that gcc 4.8+ and clang trunk warn on unused local typedefs, which COMPILE_ASSERT adds. After this change, the warning will be happy at least in C++11 builds. static_assert also produces a slighly nicer diagnostic than the typedef method. https://github.com/google/re2/commit/eb93e8bc43ac8d05322fb3e9fc885898ad924f8a did the same change in re2.
Diffstat (limited to 'update_file_lists.sh')
0 files changed, 0 insertions, 0 deletions