"Rakesh Pai" <[EMAIL PROTECTED]> wrote in message
news:63120@palm-dev-forum...
>
> Im making my application development in C.
> I wrote a function ...
> Heres wht i wrote...
>  template <class T> static Boolean LstAddElement(T, MemHandle*
firstMemP,
> MemHandle* elementMemP);
>
> But if  i try to compile....it gives me an error like this
> declaration syntax error
> List.h line 29 template<class T>...........
>
> Im sure there must be some project settings or something else which im
> missing. Im using CodeWarrior 7.0. Any help?.

You need to adjust your access paths -- make sure that you have
"{Compiler}/Palm OS Support" before the path for MSL.  There is a
conflict between the List.h in the Palm OS SDK and the version included
in MSL, and your code is getting the wrong one.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to