Project

General

Profile

Actions

Bug #13529

closed

Warning when compiling io.c

Added by duerst (Martin Dürst) about 7 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-05-01 trunk 58527) [x86_64-cygwin]
[ruby-core:<unknown>]

Description

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" "
Actions

Also available in: Atom PDF

Like0
Like0Like0