Hi all,
I am trying to recompile Plucker with CodeWarrior. In order to do this, I need to
#ifdef a small number of things in the source code.
Here is a list of the changes I'm making:
- #ifdef the PLKRDB_SECTION macro, since segmentation is directly handled in the
project file when compiling with CW
- Add a few missing prototypes
- Fix a few compilation problems, most notably pointer calculations written with (void
*) ptr + offset, which don't compile under CW (you need to specify a non-void ptr type)
- Add #ifdefs for Palm OS 4.0 SDK header files inclusion (some header file names have
changed, some have been removed)
- Fixed some "illegal constant" in structures, like:
RectangleType imageBounds = { { 0, 0 }, { MaxExtentX(), MaxExtentY() } };
which is not valid under CW. These ones will need to be split in several lines.
Also, I'll need to make some changes in ZLib header files which use pre-4.0 SDK style
typdefs like UInt (now UInt16)
Also, CW compilation will require .rcp.in files to also be provided in .rcp form in
the CVS. If this is not acceptable, I can live with .rcp.in files and have a cygwin
script which generates them.
(side note: ./configure freezes under cygwin, latest version, when creating the
Makefiles -- seems to be a sed problem).
If the changes above seem acceptable to developers of this list, I will start
submitting them once they are made.
A happy new year to you all, and congrats for a very good piece of open source
software!
Regards,
Florent Pillet.
http://perso.wanadoo.fr/fpillet