Embarcadero C++Builder error for __property on Android

65 views Asked by At

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?

0

There are 0 answers