2008/9/8 Dave Neary <[EMAIL PROTECTED]>:
> This happens when you do something like this:
>
> #include <stdio.h>
> #include <stdlib.h>
>
> struct test *t;
>
> int main(void)
> {
> t = malloc(sizeof *t);
> printf("%d\n", t->i);
>
> return 0;
> }
> In the above example, adding
> struct test {
> int i, j;
> };
>
> before the declaration of t fixes the problem (but creates a different
> runtime problem - a virtual cookie for the person to see the issue).
t->i being undefined?
Neil
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers