4f54b317d6b14d3324871f2256b59b33174e59c9 |
|
08-Apr-2013 |
Andrew Hsieh <andrewhsieh@google.com> |
Fix stlport _STLP_STATIC_ASSERT with GCC 4.8 _STLP_STATIC_ASSERT(expr) causes compile-time assert when expr is false, by doing "typedef char __static_assert[expr ? 1 : -1]" It works prior GCC 4.8 but now -Wunused-local-typedefs is enabled by -Wall in 4.8, and fail to compile webrtc and boost with -Werror Add __attribute__((unused)) in features.h and remove unused local typedef in _istream.c Add a testcase Change-Id: Ie63f416527db5aba1a592569d2a2a4ed87f082ef
|