[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sys_socket: sockaddr_storage, new module alignof
From: |
Eric Blake |
Subject: |
Re: sys_socket: sockaddr_storage, new module alignof |
Date: |
Tue, 12 May 2009 20:07:17 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 5/12/2009 7:22 PM:
> the special cases for AIX cc,xlc and HP-UX cc are not right in general.
> They are only right in the context of malloca.h.
So if I understand correctly, you are trading one set of portability
problems (the AIX workaround guesses wrong for char and short) for another
(alignof() must not be used to initialize an enumerator, but can be used
in all other contexts). Shouldn't this at least be documented in the
alignof.h header?
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----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
iEYEARECAAYFAkoKK1UACgkQ84KuGfSFAYAywACgrRnJHKAaYYOpHEcPmaN37tkw
NyEAn2iYCPwEZAU/FmdcwTMZzWpO8/QG
=63ci
-----END PGP SIGNATURE-----
- Re: sys_socket: sockaddr_storage, new module alignof, (continued)
- Re: sys_socket: sockaddr_storage, new module alignof, Bruno Haible, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Bruno Haible, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Bruno Haible, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/10
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Simon Josefsson, 2009/05/08
- Re: sys_socket: sockaddr_storage, new module alignof, Bruno Haible, 2009/05/12
- Re: sys_socket: sockaddr_storage, new module alignof,
Eric Blake <=
- Re: new module alignof, Bruno Haible, 2009/05/31
- Re: sys_socket: sockaddr_storage, new module alignof, Eric Blake, 2009/05/12
- Re: new module alignof, Bruno Haible, 2009/05/31