Help with error: Redefinition of 'Rect' as different type of symbol
by teammember0x01@gmail.com
Hi I am trying to build The Secret Chronicles of Dr. M. My building stopped in a file called mrb_sprite.cpp. The compiler reported this code:
"static mrb_value Rect(mrb_state* p_state, mrb_value self)"
This was the error message: "Redefinition of 'Rect' as different kind of symbol. "
This code was also flagged:
"mrb_define_method(p_state, p_rcSprite, "rect", Rect, MRB_ARGS_NONE());"
This is the error reported: "Unexpected type name 'Rect': expected expression".
I'm using Clang++ 5.1 to compile the program.
Is there a way to fix this error?
8 months, 4 weeks