This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Implementation of swab()


From newlib/Changelog:
> Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
> 
>         * libc/include/string.h: Changed last argument back to ssize_t
>         to make it compatible with XPG4 definition which is 
>         defined in <unistd.h>.  There is a conflict in the SVID 3
>         and XPG4 definitions and newlib will settle with XPG4.
>         * libc/string/swab.c: Ditto.
> 
> Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
> 
>         * libc/include/string.h: Changed last argument to size_t.
>         * libc/string/swab.c: Changed last argument to size_t.

Well, then you better include types.h in string.h

gcc -DPACKAGE=\"newlib\" -DVERSION=\"1.8.1\"  -I. -I.  -O2 -I../../targ-include
-I.././../libc/include -fno-builtin      -O2 -fsigned-char -fomit-frame-pointer -s -c calloc.c
In file included from calloc.c:55:
../../libc/include/string.h:72: parse error before `ssize_t'
make[3]: *** [calloc.o] Error 1
make[3]: Leaving directory `src/newlib/libc/stdlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `src/newlib/libc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `src/newlib'
make: *** [src/newlib/libc.a] Error 2

--
Andrew E. Mileski - Software Engineer
REBEL.COM  http://www.rebel.com/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]