[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37449] [Bug #887] thread.c: warning: format '%.6ld' expects type 'long int'

From: Kazuhiro NISHIYAMA <redmine@...>
Date: 2008-12-15 14:20:57 UTC
List: ruby-dev #37449
Bug #887: thread.c: warning: format '%.6ld' expects type 'long int'
http://redmine.ruby-lang.org/issues/show/887

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal

Mac OS Xの環境で以下のwarningが出ているので、tv_secだけではなくtv_usecもlongにキャストしてしまえば良いのではないでしょうか。

gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses -pipe -fno-common  -I. -I.ext/include/powerpc-darwin9.5.0 -I./include -I.  -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o thread.o -c thread.c
thread.c: In function 'sleep_timeval':
thread.c:809: warning: format '%.6ld' expects type 'long int', but argument 3 has type '__darwin_suseconds_t'
thread.c:809: warning: format '%.6ld' expects type 'long int', but argument 5 has type '__darwin_suseconds_t'


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next