What does this mean???
Peter Blemel
peter at msinc.msi.com
Fri Oct 26 18:45:03 AEST 1990
I have the offending code in hand. I guess the real question is :
Is this illegal or has the compiler generated wrong code?
Remember the mail address is wrong, should be :
bbx!yenta!msinc!peter at unmvax.cs.unm.edu
Script command is started on Thu Oct 25 19:57:01 1990
peter at cassandra[1] .../Cpred/cc % touch eeep.c
peter at cassandra[2] .../Cpred/cc % make eeep
cc -g -I../include eeep.c -o eeep
0706-971 INTERNAL ERROR: LINKS: The number of ESDs processed exceeds
the expected total ESDs.
make: 1254-004 The error code from the last command is 12.
Make Quitting.
peter at cassandra[4] .../Cpred/cc % cat eeep.c
# define HELP_ENTRIES 3
typedef struct _help {
char *key;
char *text[];
} HELP_TEXT;
/* I've trimmed this down to a small subset of the data so that
** the problem/solution might be clearer.
*/
HELP_TEXT help_text[HELP_ENTRIES] = {
"help", {"Display help on a topic.",
"\tSyntax : help subject"},
"use", {"Request that predictor import a file into the current system",
"\tSyntax : use \"filename\""},
"stop", {"Terminate C-Predictor immediately.",
"\tSyntax : stop"}
};
/* display_help, and topic have been made into a main and a fixed
** string for illustration purposes. They were originally
** display_help(topic) char *topic; { body of help code }
** char *topic = "stop";
*/
main()
{
/* Minimal code to cause it to fail. */
printf ("Eeep Eeep Eeep\n");
}
peter at cassandra[5] .../Cpred/cc % ^D
Script command is complete on Thu Oct 25 19:57:17 1990
--------------------------------------
bbx!yenta!msinc!peter at unmvax.cs.unm.edu
More information about the Comp.unix.aix
mailing list