[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
es and gcc-2.5.0
Just a quick warning that gcc-2.5.0's fixproto (great new feature that
when run with fixincludes will add prototypes to all the system include
files) will create include files that es will no longer work with on
DECstation and SUN hosts (and I believe other hosts as well). Since es
has been noted as 'needing' a gcc level compiler, I thought it wise to
pass along the needed diffs to es.
I don't claim that this is the best fix. System prototypes don't belong
in user code and es still has some scattered in its code, but I didn't
track them down and remove them since the following two fixes seem to be
enough.
Regards,
Loren
*** es-0.84/stdenv.h Mon Oct 25 13:26:59 1993
--- es-0.84old/stdenv.h Thu Apr 29 21:09:12 1993
***************
*** 129,135 ****
typedef enum { FALSE, TRUE } Boolean;
#if __GNUC__
! typedef void noreturn;
#else
typedef void noreturn;
#endif
--- 129,135 ----
typedef enum { FALSE, TRUE } Boolean;
#if __GNUC__
! typedef volatile void noreturn;
#else
typedef void noreturn;
#endif
*** es-0.84/prim-sys.c Mon Oct 25 13:33:10 1993
--- es-0.84old/prim-sys.c Thu Apr 29 21:09:09 1993
***************
*** 138,144 ****
#if BSD_LIMITS
extern int getrlimit(int, struct rlimit *);
! extern int setrlimit(int, struct rlimit *);
typedef struct Suffix Suffix;
struct Suffix {
--- 138,144 ----
#if BSD_LIMITS
extern int getrlimit(int, struct rlimit *);
! extern int setrlimit(int, const struct rlimit *);
typedef struct Suffix Suffix;
struct Suffix {