зеркало из https://github.com/github/ruby.git
* include/ruby/util.h: remove a warning suppression C4723
(potential divide by zero) for VisualC++. It's meaningless. Before r26197, there is ruby_div0() in this place and it actually made divide by zero. But now it's just garbage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f7bd7d6f1f
Коммит
86caaefc1f
|
@ -1,3 +1,10 @@
|
|||
Wed Oct 21 09:04:09 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* include/ruby/util.h: remove a warning suppression C4723
|
||||
(potential divide by zero) for VisualC++. It's meaningless.
|
||||
Before r26197, there is ruby_div0() in this place and it
|
||||
actually made divide by zero. But now it's just garbage.
|
||||
|
||||
Wed Oct 21 08:23:36 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* random.c: random_raw_seed don't use GRND_NONBLOCK. GRND_NONBLOCK
|
||||
|
|
|
@ -80,14 +80,6 @@ double ruby_strtod(const char *, char **);
|
|||
#undef strtod
|
||||
#define strtod(s,e) ruby_strtod((s),(e))
|
||||
|
||||
#if defined _MSC_VER && _MSC_VER >= 1300
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4723)
|
||||
#endif
|
||||
#if defined _MSC_VER && _MSC_VER >= 1300
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
void ruby_each_words(const char *, void (*)(const char*, int, void*), void *);
|
||||
|
||||
RUBY_SYMBOL_EXPORT_END
|
||||
|
|
Загрузка…
Ссылка в новой задаче