198 out of 203 files build now.

This commit is contained in:
Viral B. Shah 2011-12-31 00:48:35 +05:30
parent e4481ba487
commit 394d97b5e2
3 changed files with 8 additions and 5 deletions

View File

@ -1 +1 @@
for i in *.c; do clang -D__BSD_VISIBLE -c -O0 -I. -I../include -I../ld128 $i; done 2>err
for i in *.c; do clang -D__BSD_VISIBLE -Wno-implicit-function-declaration -c -O0 -I. -I../include -I../ld128 $i; done 2>err

View File

@ -19,6 +19,7 @@
#include <sys/types.h>
#include <machine/endian.h>
#include <complex.h>
/*
* The original fdlibm code used statements like:
@ -232,7 +233,8 @@ do { \
*/
void _scan_nan(u_int32_t *__words, int __num_words, const char *__s);
#ifdef _COMPLEX_H
//VBS
//#ifdef _COMPLEX_H
/*
* C99 specifies that complex numbers have the same representation as
@ -293,7 +295,8 @@ cpackl(long double x, long double y)
IMAGPART(z) = y;
return (z.f);
}
#endif /* _COMPLEX_H */
//VBS
//#endif /* _COMPLEX_H */
#ifdef __GNUCLIKE_ASM

View File

@ -57,8 +57,8 @@ extern const union __nan_un {
#endif
#if __ISO_C_VISIBLE >= 1999
#define FP_ILOGB0 (-__INT_MAX)
#define FP_ILOGBNAN __INT_MAX
#define FP_ILOGB0 (-INT_MAX)
#define FP_ILOGBNAN INT_MAX
#ifdef __MATH_BUILTIN_CONSTANTS
#define HUGE_VALF __builtin_huge_valf()