1 | /* |
2 | * Licensed under the Apache License, Version 2.0 (the "License"); |
3 | * you may not use this file except in compliance with the License. |
4 | * You may obtain a copy of the License at |
5 | * |
6 | * http://www.apache.org/licenses/LICENSE-2.0 |
7 | * |
8 | * Unless required by applicable law or agreed to in writing, software |
9 | * distributed under the License is distributed on an "AS IS" BASIS, |
10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
11 | * See the License for the specific language governing permissions and |
12 | * limitations under the License. |
13 | */ |
14 | |
15 | #ifndef CODED_STREAM_WRAPPER_HH |
16 | #define CODED_STREAM_WRAPPER_HH |
17 | |
18 | #include "Adaptor.hh" |
19 | |
20 | DIAGNOSTIC_PUSH |
21 | |
22 | #ifdef __clang__ |
23 | DIAGNOSTIC_IGNORE("-Wshorten-64-to-32" ) |
24 | DIAGNOSTIC_IGNORE("-Wreserved-id-macro" ) |
25 | #endif |
26 | |
27 | #if defined(__GNUC__) || defined(__clang__) |
28 | DIAGNOSTIC_IGNORE("-Wconversion" ) |
29 | #endif |
30 | |
31 | #include <google/protobuf/io/coded_stream.h> |
32 | |
33 | DIAGNOSTIC_POP |
34 | |
35 | #endif |
36 | |