=begin
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 しているものもある。)
というわけで以下の修正で警告は出なくなるようです。
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
=begin
This issue was solved with changeset r30165.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=begin
This issue was solved with changeset r30184.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.