Commit 9135070
authored
Fix leaky
Ignoring the `-Wconversion` diagnostic in `make_format_args` was
leaking out of the header, resulting in that warning being ignored in
downstream code that includes `fmt/base.h`.
Instead, we should `push`/`pop` the diagnostics to ensure this is
cleaned up.diagnostic ignored pragma (#4588)1 parent ff357e9 commit 9135070
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
2997 | 2998 | | |
2998 | 2999 | | |
2999 | 3000 | | |
| 3001 | + | |
3000 | 3002 | | |
3001 | 3003 | | |
3002 | 3004 | | |
| |||
0 commit comments