[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] MiNTlibs for PureC



Hallo Jo

JES>Yes. And unless Guido has done something with the makefile since I
JES>downloaded 0.51 you'll have to hack it too. It took me about 15 minutes
JES>to hack the makefile, the build-process took less than five minutes
with
JES>PureC on my Afterburner... With Gcc it takes easily 30 minutes.

Not bad :-)

JES>> I got a lot of warnings from PureC too.

Ok, I think I'll send Guido the warnings and my latest makefile. If he
doesn't mind.

First Bug (reported here for convenience):

In tz.c, #165:

---------------><---------------
    /*if ((fid = open (name, O_RDONLY)) == -1)*/
    if ((fid = open (name, O_RDONLY)) < 0L )
---------------><---------------

If 'name' doesn't exist, open returns -4, not -1.

In new_york.h the constants need an 'L' (caused warnings):

---------------><---------------
  3,  /* typecnt */
  12,  /* charcnt */
  { /* ats */
    -1633280400L, -1615140000L, -1601830800L, -1583690400L,
...
---------------><---------------

bye, Helmut