[Clientapps-cvs] symbianplayer/util/pub comptr_traits.h,1.8,1.9
rrajesh at helixcommunity.org rrajesh at helixcommunity.orgUpdate of /cvsroot/clientapps/symbianplayer/util/pub
In directory cvs:/tmp/cvs-serv5704
Modified Files:
comptr_traits.h
Log Message:
> Project: Helix plugin for Symbian
>
> Synopsis: Symbian comptr related changes for ARMV5 compilation
>
> CF file change is to include the compiler option --no_parse_templates.
> This option is included to disable parsing of non-class template
> structs if they are not instantiated.
>
> Other change is to add the template keyword for COMPTR_DEFINE_TRAIT
> definition in comptr_trait.h to fix the compilation error. (Thumb
> build does not give any problem because of this change)
>
>
>
> Files Modified:
> ===============
> build\umakecf\symbian-armv5.cf
> clientapps\symbianplayer\util\pub\comptr_traits.h
Index: comptr_traits.h
===================================================================
RCS file: /cvsroot/clientapps/symbianplayer/util/pub/comptr_traits.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- comptr_traits.h 4 Feb 2004 01:47:09 -0000 1.8
+++ comptr_traits.h 10 Oct 2005 20:20:51 -0000 1.9
@@ -32,6 +32,7 @@
// save-some-typing macro
#define COMPTR_DEFINE_TRAIT(iid) \
+template<> \
struct IIDTraits<iid> \
{ \
static inline IID_RETTYPE riid(){ return IID_##iid; } \