-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Tom G. Christensen on 9/21/2008 2:30 PM:
> cc-3316 cc: ERROR File = handler-unix.c, Line = 490
>   The expression must be a pointer to a complete object type.
> 
>       ss.ss_sp = extra_stack + extra_stack_size - sizeof (void *);
>                  ^

Yep - gcc allows addition of void*, but many other compilers require an
explicit cast to char * before you can do pointer math (since C89 leaves
pointer math on void* undefined).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjWu/wACgkQ84KuGfSFAYAFDgCeN1t78GrH19Iq5iAKa7qhuDVY
GpIAmwZ/7El3xwNh0OvYGgzhbG+GgeF+
=W1/L
-----END PGP SIGNATURE-----


Reply via email to