[Bug #3593] cont.cで"PAGE_SIZE" redefined

Bug #3593: cont.ce$B$Ge(B"PAGE_SIZE" redefined
http://redmine.ruby-lang.org/issues/show/3593

e$B5/I<<Te(B: Yui NARUSE
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Koichi Sasada, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-07-21 trunk 28703) [x86_64-freebsd8.1]

cont.ce$B$G0J2<$N$h$&$Je(Bwarninge$B$,$G$^$9!#e(B
ifndefe$B$r;H$&$Y$-$+!"e(BRB_PAGE_SIZEe$B$J$I$HJL$NL>A0$r;H$&$Y$-$+LB$C$?$N$G!"BP=h$*4j$$$7$^$9!#e(B
//ruby/cont.c:45:1: warning: PAGE_SIZE redefined
In file included from /usr/include/sys/param.h:110,
from /usr/include/pthread_np.h:34,
from //ruby/thread_pthread.h:16,
from //ruby/vm_core.h:29,
from //ruby/cont.c:13:
/usr/include/machine/param.h:100:1: warning: this is the location of the
previous definition
//ruby/cont.c:46:1: warning: PAGE_MASK redefined
/usr/include/machine/param.h:101:1: warning: this is the location of the
previous definition
//ruby/cont.c:45:1: warning: PAGE_SIZE redefined
In file included from /usr/include/sys/param.h:111,
from /usr/include/pthread_np.h:35,
from //ruby/thread_pthread.h:17,
from //ruby/vm_core.h:30,
from //ruby/cont.c:14:
/usr/include/machine/param.h:100:1: warning: this is the location of the
previous definition
//ruby/cont.c:46:1: warning: PAGE_MASK redefined
/usr/include/machine/param.h:101:1: warning: this is the location of the
previous definition
//ruby/cont.c: In function fiber_initialize_machine_stack_context:
//ruby/cont.c:567: warning: assignment from incompatible pointer
type

e$B%A%1%C%He(B #3593 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r28768.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3593

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs