Project

General

Profile

Actions

Bug #3593

closed

cont.cで"PAGE_SIZE" redefined

Added by naruse (Yui NARUSE) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-07-21 trunk 28703) [x86_64-freebsd8.1]
Backport:
[ruby-dev:41870]

Description

=begin
cont.cで以下のようなwarningがでます。
ifndefを使うべきか、RB_PAGE_SIZEなどと別の名前を使うべきか迷ったので、対処お願いします。
../../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
=end

Actions #1

Updated by naruse (Yui NARUSE) over 13 years ago

  • Target version changed from 1.9.2 to 2.0.0

=begin

=end

Actions #2

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
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.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0