]> thyrsus.com Git - intercal.git/commit
Let configure check for the varargs/_Bool interaction
authorAlex Smith <ais523@bham.ac.uk>
Tue, 7 Sep 2010 19:54:44 +0000 (20:54 +0100)
committerAlex Smith <ais523@bham.ac.uk>
Tue, 7 Sep 2010 19:54:44 +0000 (20:54 +0100)
commit3923d6eba0c5071b1c73a4d3e02f6ae0b6b1c365
tree7e9fb4f8b04bc2e8b3e59bdf564329684968dd7f
parent574a8ca4295ad6958b07ba622948dd82b5603ffb
Let configure check for the varargs/_Bool interaction

According to the C standard, passing _Bool via varargs is undefined
behaviour. This lets autoconf check to see whether it actually works,
and casts to int in the relevant location if it doesn't. (Recent gcc
will compile an attempt to access a boolean via varargs into an
illegal instruction.)
configure.ac
src/cesspool.c
src/feh2.c