gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnapplet compile error


From: laijingtian
Subject: gnapplet compile error
Date: Sun, 16 Oct 2005 01:54:43 +0800 (HKT)

Hi,

Any one could tell me is it possible to cast the type in a C++? I have 
compilation error of gnapplet:

arm-epoc-pe-gcc  -D_UNICODE -march=armv4t -mthumb-interwork -c -nostdinc -Wall 
-Wno-ctor-dtor-privacy -Wno-unknown-pragmas -D__SYMBIAN32__ -D__GCC32__ 
-D__EPOC32__ -D__MARM__ -D__AVKON_ELAF -D__MARM_ARMI__ -D__DLL__ 
-I/home/ktlai/symbian/symbian_sdk_series60_21/include 
-I/home/ktlai/symbian/symbian_sdk_series60_21/include/libc 
-I/home/ktlai/symbian/gnokii-0.6.8/include  -c -o proto_sms.o proto_sms.cpp
proto_sms.cpp: In function `void ReadMessageL(class PktBuf &, class PktBuf &)':
proto_sms.cpp:321: type `CArrayFix<TGsmSms>' is not a base type for type 
`CArrayFixFlat<TSms>'
proto_sms.cpp:323: warning: passing `const CSmsMessage' as `this' argument of 
`void CSmsMessage::EncodeMessagePDUsL(class CArrayFix<TGsmSms> &, TInt = 0)' 
discards const
proto_sms.cpp:324: no matching function for call to `TGsmSms::PduL ()'
proto_sms.cpp: In function `void WriteMessageL(class PktBuf &, class PktBuf &)':
proto_sms.cpp:420: no matching function for call to 
`CSmsMessage::DecodeMessagePDUsL (CArrayFixFlat<TSms> &)'
/home/ktlai/symbian/symbian_sdk_series60_21/include/gsmumsg.h:146: candidates 
are: CSmsMessage::DecodeMessagePDUsL(const CArrayFix<TGsmSms> &)
make: *** [proto_sms.o] Error 1



kangtinlai




reply via email to

[Prev in Thread] Current Thread [Next in Thread]