diff options
| author | David Chisnall <theraven@FreeBSD.org> | 2012-03-13 14:09:15 +0000 |
|---|---|---|
| committer | David Chisnall <theraven@FreeBSD.org> | 2012-03-13 14:09:15 +0000 |
| commit | 362d815b81e2b4b66c33b99203d821b8928607e1 (patch) | |
| tree | 491848d33dbdf1751fd52f321d3fbf70a8e616f2 /src/regex.cpp | |
| parent | 1828c5696f7bf5850943ea6c660a493a5e648669 (diff) | |
Notes
Diffstat (limited to 'src/regex.cpp')
| -rw-r--r-- | src/regex.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/regex.cpp b/src/regex.cpp index 65e9f886dfb8..e3ec2810c774 100644 --- a/src/regex.cpp +++ b/src/regex.cpp @@ -69,12 +69,17 @@ regex_error::~regex_error() throw() {} namespace { +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wpadded" + struct collationnames { const char* elem_; char char_; }; +#pragma clang diagnostic pop + const collationnames collatenames[] = { {"A", 0x41}, @@ -190,12 +195,17 @@ const collationnames collatenames[] = {"zero", 0x30} }; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wpadded" + struct classnames { const char* elem_; ctype_base::mask mask_; }; +#pragma clang diagnostic pop + const classnames ClassNames[] = { {"alnum", ctype_base::alnum}, |
