[tsc-devel] Re: Help with error: Redefinition of 'Rect' as different type of symbol
M A |
Sat, 25 Jul 2020 13:04:47 UTC
On Jul 25, 2020, at 2:20 AM, Marvin ‘quintus’ Gülker <…l@g…> wrote:
> Hi,
>
> Am Samstag, dem 25. Juli 2020 schrieb …1@g…:
>> 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:
>
> Please give the entire error message, exactly as reported by the
> compiler. Also, please tell us what version of the source code you are
> trying to build: is it 2.1.0 from the tarball, or are you building from
> Git? If the latter, which branch?
>
>> I'm using Clang++ 5.1 to compile the program.
>
> Since we're using GCC usually to compile TSC, this might be the cause.
> However, our code should compile with any compiler. If we can reproduce
> this, it is a bug. But we need more information for that.
>
>> Is there a way to fix this error?
>
> Maybe. Please first answer the questions above.
>
> -quintus
>
Thank you for replying. I found a simple fix. I renamed the Rect() function to mRect(). Rect was already defined in an header file as a structure on my system.
_______________________________________________
tsc-devel mailing list -- …l@l…
To unsubscribe send an email to …e@l…