diff options
author | Zefram <zefram@fysh.org> | 2017-11-11 23:21:48 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-11-11 23:23:03 +0000 |
commit | b8897079199ab3165b21ca3aff78c7479842181a (patch) | |
tree | 501a6a42ed4be78df20375729f983fa33c702146 /pp_sys.c | |
parent | 2b503742ec83467c3ba4fb5b70583a4df2810a3e (diff) | |
download | perl-b8897079199ab3165b21ca3aff78c7479842181a.tar.gz |
suppress clang warning in inode number handling
The gcc warning was already suppressed, but clang needs a different
formulation.
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3010,9 +3010,11 @@ PP(pp_stat) */ bool neg; Stat_t s; + CLANG_DIAG_IGNORE(-Wtautological-compare); GCC_DIAG_IGNORE(-Wtype-limits); neg = PL_statcache.st_ino < 0; GCC_DIAG_RESTORE; + CLANG_DIAG_RESTORE; if (neg) { s.st_ino = (IV)PL_statcache.st_ino; if (LIKELY(s.st_ino == PL_statcache.st_ino)) { |