Re: [PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-11-06 Thread Bruno Haible
Paul Eggert wrote: > ... please push. > > I didn't get a URL yet, but did get a Sun review ID that I > just now added to the documentation. Thanks. I pushed this: --- a/tests/test-stdalign.c +++ b/tests/test-stdalign.c @@ -80,6 +80,11 @@ CHECK_STATIC (struct4); int main () { +#if defined __SU

Re: [PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-11-06 Thread Paul Eggert
On 11/06/11 12:55, Bruno Haible wrote: > Here's a proposed patch. By the way, did you receive an URL we can include > in the comments here, meanwhile? Sure, thanks, that patch looks fine; please push. I didn't get a URL yet, but did get a Sun review ID that I just now added to the documentation.

Re: [PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-11-06 Thread Bruno Haible
Hi Paul, > > 2) On Solaris 10 (both SPARC and i386) with cc, the test fails: > > > > test-stdalign.c:81: assertion failed > > FAIL: test-stdalign Now it's at line 83. > Yes, I can reproduce this, and it's already documented in > stdalign.texi. This is a bug in Sun C 5.11, which can occur when

Re: [PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-11-01 Thread Paul Eggert
On 11/01/11 05:00, Bruno Haible wrote: > It was here: > Thanks, I added that to the ChangeLog. > 1) On mingw of 2009, the test fails > > test-stdalign.c:81: assertion failed > FAIL: test-stdalign.exe I don't use mingw, but I

Re: [PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-11-01 Thread Bruno Haible
Hi Paul, Thanks for the update. > I think these problems were reported by Bruno Haible, in email > that I've unfortunately misplaced. It was here: With this patch, the crashes on FreeBSD 6.4 and Cygwin 1.5.25 are gone. MSVC 9

[PATCH] stdalign: port better to MSVC and to Sun C 5.11

2011-10-31 Thread Paul Eggert
I think these problems were reported by Bruno Haible, in email that I've unfortunately misplaced. * doc/posix-headers/stdalign.texi (stdalign.h): Document more shortcomings of MSVC and of Sun C 5.11. * lib/stdalign.in.h (_Alignas): Omit bogus extra parenthesis around __declspec arg. * modules/stdal