| 1 | #ifdef USE_PRAGMA |
|---|---|
| 2 | #pragma clang diagnostic push |
| 3 | #pragma clang diagnostic warning "-Wshorten-64-to-32" |
| 4 | #endif |
| 5 | template <class T> int convert(T V) { return V; } |
| 6 | #ifdef USE_PRAGMA |
| 7 | #pragma clang diagnostic pop |
| 8 | #endif |
| 9 |
| 1 | #ifdef USE_PRAGMA |
|---|---|
| 2 | #pragma clang diagnostic push |
| 3 | #pragma clang diagnostic warning "-Wshorten-64-to-32" |
| 4 | #endif |
| 5 | template <class T> int convert(T V) { return V; } |
| 6 | #ifdef USE_PRAGMA |
| 7 | #pragma clang diagnostic pop |
| 8 | #endif |
| 9 |