In the line

#pragma STDC CX_LIMITED_RANGE   ON
the "ON" needs to be in caps. gcc doesn't understand this pragma
anyway and assumes it is always on in any case, but icc supports
it and cares about the case.
This commit is contained in:
David Schultz 2008-08-08 00:15:16 +00:00
parent a91a964c74
commit 65faab72b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181402
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
* gcc generates is acceptable, since the special cases have already been
* handled.
*/
#pragma STDC CX_LIMITED_RANGE on
#pragma STDC CX_LIMITED_RANGE ON
/* We risk spurious overflow for components >= DBL_MAX / (1 + sqrt(2)). */
#define THRESH 0x1.a827999fcef32p+1022

View File

@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
* gcc generates is acceptable, since the special cases have already been
* handled.
*/
#pragma STDC CX_LIMITED_RANGE on
#pragma STDC CX_LIMITED_RANGE ON
float complex
csqrtf(float complex z)

View File

@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
* gcc generates is acceptable, since the special cases have already been
* handled.
*/
#pragma STDC CX_LIMITED_RANGE on
#pragma STDC CX_LIMITED_RANGE ON
/* We risk spurious overflow for components >= LDBL_MAX / (1 + sqrt(2)). */
#define THRESH (LDBL_MAX / 2.414213562373095048801688724209698L)