Donate Share

clib2

Code

Programming Languages: C

License: BSD License

Repositories

browse code, statistics, last commit on 2008-11-11 cvs -d:pserver:anonymous@clib2.cvs.sourceforge.net:/cvsroot/clib2 login

cvs -z3 -d:pserver:anonymous@clib2.cvs.sourceforge.net:/cvsroot/clib2 co -P modulename

Show:

What's happening?

  • Wrong limits.h INT_MAX INT_MIN UINT_MAX

    The limits.h file contains incorrect INT_MIN, INT_MAX and UINT_MAX macros. They are defining values of type long and unsigned long. They should define values of int and unsigned int. This is breaking C++ code which is strongly typed. Specifically, some Boost C++ unit tests are failing. When I changed INT_MIN/INT_MAX to type int the C++ unit tests passed.

    2009-03-01 05:35:34 UTC by ssolie

  • code relying on char being unsigned

    The return value of functions like strcmp, memcmp relies on char being unsigned. If char is signed (like with gcc on 68k or x86) return value can be wrong. (Someone noticed similiar bug in AROS clib and I looked around to see how these functions are done elsewhere)

    2009-02-13 11:28:00 UTC by stegerg

  • clib2: 1.204 OS4 version rebuilt with new compiler

    This is a small update which concerns mainly the baserel variant of clib2 1.204 for OS4, which in the previous update was still being built with GCC 4.0.4 because GCC 4.2.4 at that time did not support the baserel option. The clib2 1.204 OS4 release archive has been replaced with a new version which was rebuilt entirely with the latest GCC 4.2.4 (which now properly supports the baserel...

    2009-01-22 08:55:57 UTC by obarthel

  • clib2

    obarthel added the clib2-1.204-gcc-os4.lha file.

    2009-01-21 14:47:30 UTC by obarthel

  • clib2: 1.204 update released

    Portable ISO 'C' (1994) runtime library for the Amiga computer. This update again contains mostly minor bug fixes. Also, the libraries have been rebuilt with GCC 4.2.4, with the exception of the baserel library flavour, which uses GCC 4.0.2 since -mbaserel support is absent in the current (2008-11-11) GCC 4.2.4 build. Please consult the "changes" notes in the download section for...

    2008-11-11 13:16:55 UTC by obarthel

  • clib2

    obarthel committed patchset 441 of module library to the clib2 CVS repository, changing 15 files.

    2008-11-11 12:58:39 UTC by obarthel

  • clib2

    obarthel committed patchset 440 of module library to the clib2 CVS repository, changing 1 files.

    2008-11-06 14:44:07 UTC by obarthel

  • Comment: time_t and clock_t using wrong types

    This is difficult. Scalar time intervals come out as unsigned 32 bit integers on AmigaOS, hence the current definition of clock_t and time_t in clib2. This follows precedents, such as the 'C' runtime libraries for Lattice 'C', SAS/C and Aztec 'C'. According to the C99 specifications, however, the requirements for the clock_t and time_t types are less restrictive. Range and precision of times...

    2008-11-06 14:20:29 UTC by obarthel

  • time_t and clock_t using wrong types

    Hello In time.h clock_t and time_t are set as following_ typedef unsigned long clock_t; typedef unsigned long time_t; According to OpenGroup, may they not be unsigned: http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html "time_t and clock_t shall be integer or real-floating types." I would recommend a normal long int instead.

    2008-11-02 15:04:46 UTC by hnl_dk

  • clib2 build problems gcc4.3.2

    I compile gcc4.3.2 for 68k with old clib, it compile and work, but i want no ixemul and want newest files so i try latest clib2 for 68k from here But in clib2 is some diffrent that fail to compile with clib2 libiberty, libstdc++ from gcc source. I download OS4 clib2 too, but same files and i ask how can compilers build with that ? compile the gcc4.x files with old includes and use...

    2008-10-20 08:51:37 UTC by bernd_afa

Our Numbers