head 1.2; access; symbols OPENPKG_E1_MP_HEAD:1.1 OPENPKG_E1_MP:1.1 OPENPKG_E1_MP_2_STABLE:1.1.2.2 OPENPKG_E1_FP:1.1.2.2 OPENPKG_2_STABLE_MP:1.1 OPENPKG_2_STABLE_20061018:1.1.2.2 OPENPKG_2_STABLE:1.1.0.2; locks; strict; comment @# @; 1.2 date 2007.06.07.07.48.35; author rse; state dead; branches; next 1.1; commitid 1RPoXH7nKKuO9Xks; 1.1 date 2006.08.20.21.18.57; author rse; state Exp; branches 1.1.2.1; next ; commitid 0rJgqSJByfTKZCJr; 1.1.2.1 date 2006.08.20.21.18.57; author rse; state dead; branches; next 1.1.2.2; commitid iZxwRSmmWscPXUQr; 1.1.2.2 date 2006.10.16.14.49.00; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.2 log @upgrading package: cocom 0.995 -> 0.996 @ text @Index: AMMUNITION/IEEE.h --- AMMUNITION/IEEE.h.orig 2002-05-18 22:46:49 +0200 +++ AMMUNITION/IEEE.h 2006-08-20 23:05:21 +0200 @@@@ -558,9 +558,7 @@@@ typedef class IEEE_float IEEE_float_t; /* This is for VC++ 5.0 */ -#ifdef WIN32 #define NO_TEMPLATE -#endif #ifndef NO_TEMPLATE Index: AMMUNITION/objstack.h --- AMMUNITION/objstack.h.orig 2002-05-18 22:46:49 +0200 +++ AMMUNITION/objstack.h 2006-08-20 23:04:32 +0200 @@@@ -89,8 +89,7 @@@@ /* It is necessarry for VMS C compiler. */ #define _OS_ALIGNMENT 4 #else -#define _OS_ALIGNMENT\ - ((char *) &((struct _os_auxiliary_struct *) 0)->_os_double - (char *) 0) +#define _OS_ALIGNMENT sizeof(long long) #endif /* This macro is auxiliary. Its value is aligned address nearest to `a'. */ @@@@ -532,8 +531,8 @@@@ /* The following function is used only by the package functions. */ -private: void _OS_expand_memory (size_t additional_length); +private: }; typedef os os_t; Index: DINO/d_ir.sprut --- DINO/d_ir.sprut.orig 2002-05-18 22:46:52 +0200 +++ DINO/d_ir.sprut 2006-08-20 23:00:05 +0200 @@@@ -196,7 +196,6 @@@@ extern IR_node_t temp_unique_float; extern IR_node_t temp_unique_char; extern IR_node_t temp_unique_string; -extern IR_node_t temp_ident; extern IR_node_t temp_decl; extern IR_node_t temp_var_occurrence; extern IR_node_t destroy_unique_ident; Index: DINO/d_main.c --- DINO/d_main.c.orig 2002-05-18 22:46:52 +0200 +++ DINO/d_main.c 2006-08-20 23:07:05 +0200 @@@@ -57,7 +57,7 @@@@ #include "d_aixdl.c" #endif -void +int main (int argc, char *argv[], char *envp[]) { #if defined(HAVE_DLOPEN) && !defined(NO_DINO_SHLIB) @@@@ -133,4 +133,5 @@@@ #else exit (dino_main (argc, argv, envp)); #endif + return 0; } Index: DINO/ieee_int.c --- DINO/ieee_int.c.orig 2002-05-18 22:46:52 +0200 +++ DINO/ieee_int.c 2006-08-20 23:06:45 +0200 @@@@ -29,6 +29,7 @@@@ #include "arithm.h" #include "IEEE.h" #include +#include #ifdef WIN32 Index: MSTA/main.c --- MSTA/main.c.orig 2002-05-18 22:46:51 +0200 +++ MSTA/main.c 2006-08-20 23:06:06 +0200 @@@@ -427,7 +427,7 @@@@ #endif /* #ifdef NDEBUG */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -726,4 +726,5 @@@@ fprintf (stderr, "overall time -- %ssec\n", active_time_string (all_ticker)); msta_finish (FALSE); + return 0; } Index: NONA/main.c --- NONA/main.c.orig 2002-05-18 22:46:54 +0200 +++ NONA/main.c 2006-08-20 23:08:40 +0200 @@@@ -235,7 +235,7 @@@@ semantic analyzer, and generator of NONA and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -348,4 +348,5 @@@@ if (number_of_errors == 0) generate (); nona_finish (FALSE); + return 0; } Index: OKA/main.c --- OKA/main.c.orig 2002-05-18 22:46:55 +0200 +++ OKA/main.c 2006-08-20 23:07:20 +0200 @@@@ -255,7 +255,7 @@@@ analyzer, and generator of OKA and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -418,4 +418,5 @@@@ fprintf (stderr, "all time:%s\n", active_time_string (all_time)); } oka_finish (FALSE); + return 0; } Index: SPRUT/main.c --- SPRUT/main.c.orig 2002-05-18 22:46:50 +0200 +++ SPRUT/main.c 2006-08-20 23:07:58 +0200 @@@@ -316,7 +316,7 @@@@ analyzer, and generator of SPRUT and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -572,4 +572,5 @@@@ if (number_of_errors == 0) generate_spi (); sprut_finish (FALSE); + return 0; } @ 1.1 log @new package: cocom 0.995 (Compiler Creation Toolkit) @ text @@ 1.1.2.1 log @file cocom.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:49:00 +0000 @ text @d1 148 @ 1.1.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 148 Index: AMMUNITION/IEEE.h --- AMMUNITION/IEEE.h.orig 2002-05-18 22:46:49 +0200 +++ AMMUNITION/IEEE.h 2006-08-20 23:05:21 +0200 @@@@ -558,9 +558,7 @@@@ typedef class IEEE_float IEEE_float_t; /* This is for VC++ 5.0 */ -#ifdef WIN32 #define NO_TEMPLATE -#endif #ifndef NO_TEMPLATE Index: AMMUNITION/objstack.h --- AMMUNITION/objstack.h.orig 2002-05-18 22:46:49 +0200 +++ AMMUNITION/objstack.h 2006-08-20 23:04:32 +0200 @@@@ -89,8 +89,7 @@@@ /* It is necessarry for VMS C compiler. */ #define _OS_ALIGNMENT 4 #else -#define _OS_ALIGNMENT\ - ((char *) &((struct _os_auxiliary_struct *) 0)->_os_double - (char *) 0) +#define _OS_ALIGNMENT sizeof(long long) #endif /* This macro is auxiliary. Its value is aligned address nearest to `a'. */ @@@@ -532,8 +531,8 @@@@ /* The following function is used only by the package functions. */ -private: void _OS_expand_memory (size_t additional_length); +private: }; typedef os os_t; Index: DINO/d_ir.sprut --- DINO/d_ir.sprut.orig 2002-05-18 22:46:52 +0200 +++ DINO/d_ir.sprut 2006-08-20 23:00:05 +0200 @@@@ -196,7 +196,6 @@@@ extern IR_node_t temp_unique_float; extern IR_node_t temp_unique_char; extern IR_node_t temp_unique_string; -extern IR_node_t temp_ident; extern IR_node_t temp_decl; extern IR_node_t temp_var_occurrence; extern IR_node_t destroy_unique_ident; Index: DINO/d_main.c --- DINO/d_main.c.orig 2002-05-18 22:46:52 +0200 +++ DINO/d_main.c 2006-08-20 23:07:05 +0200 @@@@ -57,7 +57,7 @@@@ #include "d_aixdl.c" #endif -void +int main (int argc, char *argv[], char *envp[]) { #if defined(HAVE_DLOPEN) && !defined(NO_DINO_SHLIB) @@@@ -133,4 +133,5 @@@@ #else exit (dino_main (argc, argv, envp)); #endif + return 0; } Index: DINO/ieee_int.c --- DINO/ieee_int.c.orig 2002-05-18 22:46:52 +0200 +++ DINO/ieee_int.c 2006-08-20 23:06:45 +0200 @@@@ -29,6 +29,7 @@@@ #include "arithm.h" #include "IEEE.h" #include +#include #ifdef WIN32 Index: MSTA/main.c --- MSTA/main.c.orig 2002-05-18 22:46:51 +0200 +++ MSTA/main.c 2006-08-20 23:06:06 +0200 @@@@ -427,7 +427,7 @@@@ #endif /* #ifdef NDEBUG */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -726,4 +726,5 @@@@ fprintf (stderr, "overall time -- %ssec\n", active_time_string (all_ticker)); msta_finish (FALSE); + return 0; } Index: NONA/main.c --- NONA/main.c.orig 2002-05-18 22:46:54 +0200 +++ NONA/main.c 2006-08-20 23:08:40 +0200 @@@@ -235,7 +235,7 @@@@ semantic analyzer, and generator of NONA and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -348,4 +348,5 @@@@ if (number_of_errors == 0) generate (); nona_finish (FALSE); + return 0; } Index: OKA/main.c --- OKA/main.c.orig 2002-05-18 22:46:55 +0200 +++ OKA/main.c 2006-08-20 23:07:20 +0200 @@@@ -255,7 +255,7 @@@@ analyzer, and generator of OKA and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -418,4 +418,5 @@@@ fprintf (stderr, "all time:%s\n", active_time_string (all_time)); } oka_finish (FALSE); + return 0; } Index: SPRUT/main.c --- SPRUT/main.c.orig 2002-05-18 22:46:50 +0200 +++ SPRUT/main.c 2006-08-20 23:07:58 +0200 @@@@ -316,7 +316,7 @@@@ analyzer, and generator of SPRUT and sets up reaction on user's signals. */ -void +int main (int argc, char **argv) { int i, okay; @@@@ -572,4 +572,5 @@@@ if (number_of_errors == 0) generate_spi (); sprut_finish (FALSE); + return 0; } @