Re: compiling okay, success running gtk-app computer dependant



You were right. I'll be more keen on stray pointers before I tell the world about my problem.

Very dangerous though, that consequently one computer shows the problem and another does not !!

Edward.

Daniel K. O. wrote:
edward hage wrote:

7: int main()
8: {


[...]

11:  GDate *date;


Here you have a stray pointer.

[...]

18:  g_date_set_time (date, current_time);
19:  g_print("day = %d\n", date->day);


And here you are using it. What about initializing it first?
I rest my case. :)


Daniel K. O.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]