In C++Builder 10.2 Tokyo, when compiling the following code for Win32 or Win64, it compiles ok:
class TRtpReceiver
{
public:
void __fastcall SetNext( RtpPacket *NewNext );
RtpPacket * __fastcall GetNext();
__property RtpPacket *Next = { read=GetNext, write=SetNext };
};
But when compiling for Android, I get this error:
[bccaarm Error] StvSimpleRtp.h(73): non-object type 'ssize_t (int, void *, size_t)' is not assignable
[bccaarm Error] StvSimpleRtp.h(73): non-object type 'ssize_t (int, const void *, size_t)' is not assignable
Any ideas?