[tsc-devel] Help with error: Redefinition of 'Rect' as different type of symbol

…1@g… | Sat, 25 Jul 2020 02:02:08 UTC

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?
_______________________________________________
tsc-devel mailing list -- …l@l…
To unsubscribe send an email to …e@l…