pspp-dev
[Top][All Lists]
Advanced

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

Re: osx test


From: Ben Pfaff
Subject: Re: osx test
Date: Fri, 09 May 2008 11:00:46 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Jason Stover <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]