Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 19:27:08 +0200
From:      Ed Schouten <ed@80386.nl>
To:        David Chisnall <theraven@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>, toolchain@freebsd.org, Steve Kargl <sgk@troutmask.apl.washington.edu>, Slawa Olhovchenkov <slw@zxy.spb.ru>, "Sam Fourman Jr." <sfourman@gmail.com>, Boris Samorodov <bsam@passap.ru>
Subject:   Re: GCC withdraw
Message-ID:  <CAJOYFBCT8JLsQPTQbZPQNa2LpC5ekvJ8HgETd1KBwS3Qbe7FqA@mail.gmail.com>
In-Reply-To: <1C36387A-B744-4E05-892E-AE2581D7E1ED@freebsd.org>
References:  <105E26EE-8471-49D3-AB57-FBE2779CF8D0@FreeBSD.org> <5217413A.9080105@passap.ru> <20130823111647.GT2951@home.opsec.eu> <521745F2.8050607@passap.ru> <CAOFF%2BZ3vbOgMO7T-BKZnhKte6=rFoGcdYcft5kpAgNH2my1JKg@mail.gmail.com> <20130824115158.GA88999@zxy.spb.ru> <EC9008A3-1737-470F-9067-C38FF13CFA20@FreeBSD.org> <20130824154217.GE3796@zxy.spb.ru> <20130824224204.GH3796@zxy.spb.ru> <D6A8F21E-C9AD-48C1-892E-80048343DCBA@freebsd.org> <20130824230615.GA55855@troutmask.apl.washington.edu> <1C36387A-B744-4E05-892E-AE2581D7E1ED@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/8/25 David Chisnall <theraven@freebsd.org>:
> Oh, and it's worth noting that clang, as an extension, supports using ini=
tialiser lists to create complex values and so this particular case is triv=
ial to avoid if you use this feature, which you will if you create complex =
numbers using the macro that the C specification introduced specifically to=
 avoid this case.

Or even better, use the C11 CMPLX()/CMPLXF()/CMPLXL() macros, which
are properly supported by FreeBSD -HEAD.

--=20
Ed Schouten <ed@80386.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBCT8JLsQPTQbZPQNa2LpC5ekvJ8HgETd1KBwS3Qbe7FqA>