Issue #7247 has been reported by ngoto (Naohisa Goto).

----------------------------------------
Bug #7247: r37079以??Solaris10???thread_pthread.c???????????????
https://bugs.ruby-lang.org/issues/7247

Author: ngoto (Naohisa Goto)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 2.0.0
ruby -v: -


r37079以?????Solaris10???cc???以???????????失?????????????(以?????r37390???確?)

 cc -O -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include   -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -o thread.o -c thread.c
 "thread_pthread.c", line 600: non-constant enumerator value

thread_pthread.c???600????????以??????????????????????

 enum {
 (中??)
 #ifdef PTHREAD_STACK_MIN
     RUBY_STACK_MIN = ((RUBY_STACK_MIN_LIMIT < PTHREAD_STACK_MIN) ?
  		      PTHREAD_STACK_MIN * 2 : RUBY_STACK_MIN_LIMIT),

Solaris10?????PTHREAD_STACK_MIN ??? /usr/include/limits.h ???以????????????義????????????????
 #define   PTHREAD_STACK_MIN       ((size_t)_sysconf(_SC_THREAD_STACK_MIN))

????????PTHREAD_STACK_MIN???????????????????????????????????????????????????enum??中??????????????????????????????????????????????????????????



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