Mail Archives: djgpp/2000/09/12/10:59:25
Declaring a global identifier named 'end' will clatch with some
startup/exit function or data. Internal data should have underscore as prefix.
Program built from the following code will crash on exit.
int end[1000];
int main(void)
{
memset(end, 0, sizeof(int)*1000)
return 0;
}
Unfortunately I don't know which version of DJ I use, and I don't even know
how do find it out, but the test case is obviously simple. (the files libc
and ctr0 seems to be dated 1998)
/cs
- Raw text -