I was using Palm SDK v5.1. My app compiled and excuted fine. I downloaded
v.5.2.1 headers today. I copied the incs dir to my codewarrior dir and
overwrote the old incs dir. I rebuilt the buildall. Then, when I built my app
again in codewarrior, it reports errors like below.
Error : declaration syntax error
(included from:
HsCommon.h:33
Hs.h:30
Common.h:12
TrafficTV.cpp:3)
HsAppLaunchCmd.h line 451 PalmPhotoFileLocation wallpaperLocation; /**< path
to image */
Error : declaration syntax error
(included from:
HsCommon.h:33
Hs.h:30
Common.h:12
TrafficTV.cpp:3)
HsAppLaunchCmd.h line 452 }
Error : declaration syntax error
(included from:
HsCommon.h:33
Hs.h:30
Common.h:12
TrafficTV.cpp:3)
HsAppLaunchCmd.h line 453 PhoneAppLaunchCmdSetWallpaperType,
*PhoneAppLaunchCmdSetWallpaperPtr;
.........
They are repeated many times and all point to the code below in a sdk header
file.
/** Contains data used by PhoneAppLaunchCmdSetWallpaper. */
typedef struct
{
UInt32 wallpaperUID; /**<
OBSOLETE */
// Version 2
PalmPhotoFileLocation wallpaperLocation; /**< path to image */
}
PhoneAppLaunchCmdSetWallpaperType, *PhoneAppLaunchCmdSetWallpaperPtr;
Please help me.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/