[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-cvs
Subject: [ruby-cvs:85647] 1f255adda9 (master): Silence GCC 11 warnings
From: "xtkoba" <69125751+xtkoba () users ! noreply ! github ! com>
Date: 2021-04-30 11:56:25
Message-ID: 20210430115625.3582561D9C () svn ! ruby-lang ! org
[Download RAW message or body]
xtkoba 2021-04-30 10:09:32 +0900 (Fri, 30 Apr 2021)
New Revision: 1f255adda9
https://github.com/ruby/ruby/commit/1f255adda9
Log:
Silence GCC 11 warnings
```
../strftime.c: In function 'rb_strftime_with_timespec':
../strftime.c:392:39: warning: comparison is always false due to limited range of \
data type [-Wtype-limits] 392 | if (vtm->wday < 0 || \
vtm->wday > 6) | ^
../strftime.c:403:39: warning: comparison is always false due to limited range of \
data type [-Wtype-limits] 403 | if (vtm->wday < 0 || \
vtm->wday > 6) | ^
```
Modified files:
strftime.c=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic