Hello Nobuyoshi, NN> Hi, NN> At Wed, 14 Mar 2007 15:57:24 +0900, NN> Lothar Scholz wrote in [ruby-core:10585]: >> i tried compile some extensions in a "cpp" C++ file. and the move of >> the thread structure into "node.h" is problematic at the moment. >> >> Please insert an >> #include "st.h" NN> Instead, >> at the top of the file otherwise the "st_table* locals" will throw an >> error if the extension has not included "st.h" before "node.h". NN> replace "st_table" with "struct st_table", and insert "struct NN> st_table;" before the structure, I guess. No this doesn't help the problem is the line below. "VALUE thread;" If i replace this with another identifier like "thread_" it doesn't have any problems. -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's