[PATCH] Detect compiler's _Complex support with a configure check.
Dominik Vogt
vogt@linux.vnet.ibm.com
Thu Nov 13 07:11:00 GMT 2014
Fixes the build issue for compilers without C99 complex type
support as discussed. Detection uses a configure test because
checking macros and compiler versions seemed too hairy. Tested on
s390x.
As a slight safety measure, the patched code uses "<type>
_Complex" instead of "_Complex <type>" as in the examples of the
C99 standard document, just in case there's some odd compiler out
there that requires that specific order (although the standard
demands that any order is allowed).
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Detect-compiler-s-_Complex-support-with-a-configure-.patch
Type: text/x-diff
Size: 2424 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20141113/91b6b7ec/attachment.bin>
More information about the Libffi-discuss
mailing list