diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-10-08 21:25:15 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-10-08 23:29:49 +0900 |
commit | 8ba2c3109c0f80f285b8db2fed10d8f5f026c208 (patch) | |
tree | 839a2510fe6c7d3d12aa7b11668957e9fc94713c /tool/rdoc-srcdir | |
parent | 1f39184bc7e564eefc9c6e09e038e20e112bef20 (diff) |
Fix extra semicolon outside of a function in `NO_SANITIZE`
```
internal/sanitizers.h:57:26: error: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
57 | COMPILER_WARNING_PUSH; \
| ^
```
and so many.
Remove semicolons following pragma, and repeat the given declaration
at the end to consume a semicolon following the macro call. As many
`NO_SANITIZE` calls including bigdecimal that is a gem have a trailing
semicolon, it was not able to move the semicolon inside `NO_SANITIZE`.
Diffstat (limited to 'tool/rdoc-srcdir')
0 files changed, 0 insertions, 0 deletions