aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/macros.h
Commit message (Collapse)AuthorAge
* Let GOOGLE_COMPILE_ASSERT use static_assert if available.Gravatar Nico Weber2015-07-17
| | | | | | | | | | 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.
* Split up common.h headersGravatar Jisi Liu2015-07-16
Change-Id: I223783111d743aa5193bf70fa1b9b54c7b4389c3