Bug #4143: warning: "SUPPORT_JOKE" is not defined
http://redmine.ruby-lang.org/issues/show/4143

起票???: Kazuhiro NISHIYAMA
??鴻????若?帥??: Open, ????綺?: Normal
??????眼??: core
ruby -v: ruby 1.9.3dev (2010-12-10 trunk 30153) [x86_64-linux]

chkbuild ??т札?????????
id.h:110:5: warning: "SUPPORT_JOKE" is not defined
id.h:116:5: warning: "SUPPORT_JOKE" is not defined
???????茘???????冴?????????с????????id.h ??с??#if SUPPORT_JOKE?????????????с?????????????
SUPPORT_JOKE ??? #define ?????????? vm_opts.h ??? include ????????? id.h ?????????
include ???????????????<?ゃ????????????????????????с?????
(debug.c ?????????? vm_core.h 腟???宴?? vm_opts.h ??? include ??????緇???? id.h ???
include ??????????????????????????)

??????????????т札筝???篆罩c?ц??????冴??????????????с?????

diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index b91292a..29548de 100644
--- a/template/id.h.tmpl
+++ b/template/id.h.tmpl
@@ -50,6 +50,8 @@ end
 #include "parse.h"
 #endif
 
+#include "vm_opts.h" /* for SUPPORT_JOKE */
+
 #define symIFUNC ID2SYM(idIFUNC)
 #define symCFUNC ID2SYM(idCFUNC)


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