Hello, i have had the same compiler warning / error, with custom c code that i have under my control.
When compiling the c-code in 32-Bit mode everything went fine and include is perfect (no error message), in x64 Bam.
Today i revisited my code and give it a new try, this time my gcc compiler gave me in x64 mode the following error message:
duplicate symbol .refptr.c_index in modules Byte_handler.o and COMState.o
after some googeling and rewriting the code i was able to eliminate the error message (which is more or less telling that i have double references of c_index, which was not the case, but there was an header file which had "extern const uint8_t c_index;" in it, that is eval anyway's
)
=> Now i am able to include my precomiled c-code in x32 and x64 FPC without any error messages