PATCH: gcc/intl changes for 20000604 ss for sco v5
Philipp Thomas
pthomas@suse.de
Mon Jun 12 16:56:00 GMT 2000
* William Bader (william@nscs.fast.net) [20000612 19:39]:
> Here are some of the changes I made to files in gcc/intl in the gcc-20000604
> snapshot to compile under SCO OpenServer 5.0.5 using SCO cc to bootstrap.
>
> SCO cc does not like the 'inline' keyword.
> I think it is C++ keyword that gcc accepts as a C extension.
>
> Also, on SCO, localealias.c #define's memcpy() to bcopy(), and bcopy()
> is void (instead of 'void *' like mempcy), so assignments of the form
> x = memcpy(a, b);
Thanks for your patches, though it isn't necessary any more as the patches I
checked in
- deal with the real issue behind the 'inline' which was that inclusion of
auto-host.h is guarded by IN_GCC, which intl/Makefile didn't add to the
compiler flags. This resulted in all the intl code not seeing the defines
resulting from the configure checks.
- corrects localealias.c to not rely on memcpy's return value.
But I guess the latter won't be necessary for SCO OpenServer because of the
former fix.
BTW, allthough Kaveh IMHO correctly changed configure to generate a config.h
that doesn't guard inclusion of auto-host.h, the passing of -DIN_GCC is
still needed for other things.
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h
More information about the Gcc-patches
mailing list