Jason Stover <[EMAIL PROTECTED]> writes:
> The trouble seems to be here:
>
> void
> terminal_init (int **view_width_p, int **view_length_p)
> {
> printf ("%x\t%x\n", view_width_p, view_length_p)
> *view_width_p = &view_width;
> *view_length_p = &view_length;
> terminal_check_size ();
> }
>
> It shows view_width_p has address 0xfffffff0, and view_length_p
> has address 0xffffffec.
This smells like a compiler bug. Do you get the same behavior if
you compile main.c and terminal.c without any optimization
(dropping -O or -O2 from the compiler command line)?
--
Ben Pfaff
http://benpfaff.org
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev