erase warnings for clang3.2

This commit is contained in:
bolero-MURAKAMI 2012-11-15 18:36:55 +09:00
parent d00e971abe
commit 225c11b505
14 changed files with 108 additions and 22 deletions

View file

@ -33,6 +33,10 @@ namespace sprout {
} // namespace sprout
namespace std {
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
//
// tuple_size
//
@ -50,6 +54,9 @@ namespace std {
static_assert(I < N, "tuple_element<>: index out of range");
typedef T type;
};
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
} // namespace std
#endif // #ifndef SPROUT_ARRAY_TUPLE_HPP