[maemo-developers] [Make.am issue]Sofia throuwing Error message
From: Neil Jerram neiljerram at googlemail.comDate: Mon Sep 8 12:05:15 EEST 2008
- Previous message: [Make.am issue]Sofia throuwing Error message
- Next message: [Make.am issue]Sofia throuwing Error message
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2008/9/8 Dave Neary <dneary at maemo.org>: > 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
- Previous message: [Make.am issue]Sofia throuwing Error message
- Next message: [Make.am issue]Sofia throuwing Error message
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]