# Trunk $B$,(B compile error $B$7$^$9(B

**URL:** <https://www.ruby-forum.com/t/trunk-b-b-compile-error-b-7-9-b/160168>\
**Category:** Development\
**Created:** [February 12, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/trunk-b-b-compile-error-b-7-9-b/160168 "2009-02-12T14:03:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagachika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bb73d2/32.png) [@nagachika](https://www.ruby-forum.com/u/nagachika)\
**Post date:** [February 12, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/trunk-b-b-compile-error-b-7-9-b/160168/1 "2009-02-12T14:03:49Z")

</div>

nagachika e$B$H?=$7$^$9!#e(B

e$B8=:\_e(B(e$B%j%S%8%g%se(B: 22255)trunk e$B$N%=!\<%9%D%j!\<$re(B Mac OS X  
e$B$G%3%s%Q%$%k$7$h$&$He(B  
e$B$9$k$H%3%s%Q%$%k%(%i!\<$K$J$j$^$9!#e(B  
e$B;HMQ$7$?e(B gcc e$B$N%P!\<%8%g%s$Oe(B 4.0.1 e$B$G$9!#e(B

compile.c e$B$r0J2\<$N$h$&$K=$@5$7$F%3%s%Q%$%k$G$-$^$7$?!#e(B  
e$B$h$m$7$/$\*4j$$$7$^$9!#e(B

# Index: compile.c

— compile.c (e$B%j%S%8%g%se(B 22255)  
+++ compile.c (e$B:n6H%3%T!\<e(B)  
@@ -295,7 +295,7 @@  
#define INIT\_ANCHOR(name)   
(name##_body_\_.last = &name##_body_\_.anchor, name = &name##_body_\_)

-#define hide\_obj(obj) (void)(OBJ\_FREEZE(obj), RBASIC(obj)-\>klass = 0)  
+#define hide\_obj(obj) do {OBJ\_FREEZE(obj); RBASIC(obj)-\>klass = 0;}  
while (0)

#include “optinsn.inc”  
#if OPT\_INSTRUCTIONS\_UNIFICATION  
@@ -1978,7 +1978,7 @@  
dump\_disasm\_list((LINK\_ELEMENT \*)iobj);  
dump\_disasm\_list((LINK\_ELEMENT \*)lobj);  
printf("\n-- %d, %d\n", lobj-\>sc\_state, nstate);

- 

```
          rb_compile_error(RSTRING_PTR(iseq->filename), 

```

iobj-\>lineno,

- 

```
          rb_compile_error(RSTRING_PTR(iseq->filename), 

```

iobj-\>line\_no,  
“insn\_set\_sc\_state error\n”);  
return 0;  
}
