From: Morten Johan Sorvig Date: Thu, 3 May 2012 10:29:22 +0000 (+0200) Subject: Compile. X-Git-Tag: 071012110112~1221 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1014de4b2f6d4995d5e93efb70618169042c8b93;p=profile%2Fivi%2Fqtbase.git Compile. Clang is picky about the missing QT_FASTCALL and cant't find the base fetchPixel/storePixel template function. Change-Id: I7c0c14835b3d428f8f95961dc603d809511d7165 Reviewed-by: Thiago Macieira Reviewed-by: Samuel Rødal --- diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index f502533..ec9efcd 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -997,7 +997,7 @@ struct QPixelLayout }; template -uint fetchPixel(const uchar *src, int index); +uint QT_FASTCALL fetchPixel(const uchar *src, int index); template <> inline uint QT_FASTCALL fetchPixel(const uchar *src, int index) @@ -1053,7 +1053,7 @@ typedef const uint *(QT_FASTCALL *FetchPixelsFunc)(uint *buffer, const uchar *sr template -void storePixel(uchar *dest, int index, uint pixel); +void QT_FASTCALL storePixel(uchar *dest, int index, uint pixel); template <> inline void QT_FASTCALL storePixel(uchar *dest, int index, uint pixel)