diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h index e718254fb9..48a16ed42a 100644 --- a/src/nvim/macros.h +++ b/src/nvim/macros.h @@ -133,6 +133,8 @@ /// error. A mechanism to detect many (though not all) of those errors at /// compile time is implemented. It works by the second division producing /// a division by zero in those cases (-Wdiv-by-zero in GCC). +/// +/// -V:ARRAY_SIZE:1063 #define ARRAY_SIZE(arr) \ ((sizeof(arr)/sizeof((arr)[0])) \ / ((size_t)(!(sizeof(arr) % sizeof((arr)[0]))))) |