[#44036] [ruby-trunk - Feature #6242][Open] Ruby should support lists — "shugo (Shugo Maeda)" <redmine@...>

20 messages 2012/04/01

[#44084] [ruby-trunk - Bug #6246][Open] 1.9.3-p125 intermittent segfault — "jshow (Jodi Showers)" <jodi@...>

22 messages 2012/04/02

[#44156] [ruby-trunk - Feature #6265][Open] Remove 'useless' 'concatenation' syntax — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>

45 messages 2012/04/06

[#44163] [ruby-trunk - Bug #6266][Open] encoding related exception with recent integrated psych — "jonforums (Jon Forums)" <redmine@...>

10 messages 2012/04/06

[#44303] [ruby-trunk - Feature #6284][Open] Add composition for procs — "pabloh (Pablo Herrero)" <pablodherrero@...>

57 messages 2012/04/12

[#44349] [ruby-trunk - Feature #6293][Open] new queue / blocking queues — "tenderlovemaking (Aaron Patterson)" <aaron@...>

10 messages 2012/04/13

[#44402] [ruby-trunk - Feature #6308][Open] Eliminate delegation from WeakRef — "headius (Charles Nutter)" <headius@...>

20 messages 2012/04/17

[#44403] [ruby-trunk - Feature #6309][Open] Add a reference queue for weak references — "headius (Charles Nutter)" <headius@...>

15 messages 2012/04/17

[#44533] [ruby-trunk - Bug #6341][Open] SIGSEGV: Thread.new { fork { GC.start } }.join — "rudolf (r stu3)" <redmine@...>

24 messages 2012/04/22

[#44630] [ruby-trunk - Feature #6361][Open] Bitwise string operations — "MartinBosslet (Martin Bosslet)" <Martin.Bosslet@...>

31 messages 2012/04/26

[#44648] [ruby-trunk - Feature #6367][Open] #same? for Enumerable — "prijutme4ty (Ilya Vorontsov)" <prijutme4ty@...>

16 messages 2012/04/26

[#44704] [ruby-trunk - Feature #6373][Open] public #self — "trans (Thomas Sawyer)" <transfire@...>

61 messages 2012/04/27

[#44748] [ruby-trunk - Feature #6376][Open] Feature lookup and checking if feature is loaded — "trans (Thomas Sawyer)" <transfire@...>

13 messages 2012/04/28

[ruby-core:44205] [Backport93 - Backport #6257] [mingw] -Wshorten-64-to-32 error in io.c using clang

From: "jonforums (Jon Forums)" <redmine@...>
Date: 2012-04-09 00:35:09 UTC
List: ruby-core #44205
Issue #6257 has been updated by jonforums (Jon Forums).


ruby_1_9_3 now builds and passes `make test` using clang 3.1 (trunk 154297) + MinGW 4.6.2 on Win7 32bit :)
----------------------------------------
Backport #6257: [mingw] -Wshorten-64-to-32 error in io.c using clang
https://bugs.ruby-lang.org/issues/6257#change-25732

Author: jonforums (Jon Forums)
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


Building trunk@35349 on Win7 32bit with clang 3.1 (trunk build on Win7) + MinGW GCC 4.6.2 I get the following error:

C:\Users\Jon\Documents\RubyDev\ruby-git\build>sh -c "../configure --enable-shared --disable-install-doc --with-gcc=c:/clang/bin/clang.exe"
C:\Users\Jon\Documents\RubyDev\ruby-git\build>make
...
compiling ../io.c
../io.c:458:21: error: implicit conversion loses integer precision: 'long long' to 'long'
      [-Werror,-Wshorten-64-to-32]
    extra_max = pos - fptr->rbuf.len;
              ~ ~~~~^~~~~~~~~~~~~~~~
1 error generated.
make: *** [io.o] Error 1


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

In This Thread

Prev Next