-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bernard Leak on 12/12/2006 8:24 AM:
> Eric Blake wrote:
>> your check for sigsetjmp was violating
>> POSIX and creating an invalid C program (you can't take the address of an
>> array, only an array element).
>
> The patch looks correct to me - the correct type of the parameter is
> "pointer to the
> element type of the array type sigjmp_buf". The statement about array
> addresses,
> however, is certainly wrong. Of course one can take the address of an
> array!
In my defense, here was the failure in ./configure before the patch, using
gcc 3.4.4:
configure:23953: checking whether sigsetjmp() links okay
configure:23981: gcc -std=gnu99 -o conftest.exe -O2 -pipe conftest.c
- -ldl >&5
conftest.c: In function `main':
conftest.c:48: error: invalid lvalue in unary `&'
configure:23987: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU AutoGen"
...
| /* end confdefs.h. */
| #include <setjmp.h>
| int
| main ()
| {
| sigjmp_buf bf;
| return sigsetjmp(&bf,0);
| ;
| return 0;
| }
configure:24007: result: no
Removing the unary & fixed the configure test.
- --
Life is short - so eat dessert first!
Eric Blake [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFgAQJ84KuGfSFAYARAky9AKDA8FDeDfjzXcSmpar2FsSkl+gIrgCdFczP
n2AubfdI2+qOMfoaEi4UjCg=
=mAbW
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Autogen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/autogen-users