[ruby-core:80947] [Ruby trunk Bug#13529] Warning when compiling io.c

From: duerst@...
Date: 2017-05-01 05:48:38 UTC
List: ruby-core #80947
Issue #13529 has been reported by duerst (Martin Dürst).

----------------------------------------
Bug #13529: Warning when compiling io.c
https://bugs.ruby-lang.org/issues/13529

* Author: duerst (Martin Dürst)
* Status: Open
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-05-01 trunk 58527) [x86_64-cygwin]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I get the warning below when trying to compile trunk on cygwin:

compiling io.c
io.c: In function ‘do_io_advise’:
io.c:8869:29: warning: format ‘%lld’ expects argument of type ‘long long int’, b                              ut argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
  VALUE message = rb_sprintf("%"PRIsVALUE" "




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next