Skip to content

Instantly share code, notes, and snippets.

@timglabisch
Created August 4, 2013 20:40
Show Gist options
  • Save timglabisch/6151860 to your computer and use it in GitHub Desktop.
Save timglabisch/6151860 to your computer and use it in GitHub Desktop.
/bin/bash /home/dev/asmjsphp/php-src/libtool --silent --preserve-dup-deps --mode=compile /home/dev/asmjsphp/emcc -Iext/date/lib -Iext/date/ -I/home/dev/asmjsphp/php-src/ext/date/ -DPHP_ATOM_INC -I/home/dev/asmjsphp/php-src/include -I/home/dev/asmjsphp/php-src/main -I/home/dev/asmjsphp/php-src -I/home/dev/asmjsphp/php-src/ext/date/lib -I/home/dev/asmjsphp/php-src/ext/ereg/regex -I/usr/include/libxml2 -I/home/dev/asmjsphp/php-src/ext/sqlite3/libsqlite -I/home/dev/asmjsphp/php-src/TSRM -I/home/dev/asmjsphp/php-src/Zend -I/usr/include -c /home/dev/asmjsphp/php-src/ext/date/php_date.c -o ext/date/php_date.lo
WARNING root: -I or -L of an absolute path "-I/home/dev/asmjsphp/php-src/ext/date/" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript)
clang: warning: argument unused during compilation: '-nostdinc++'
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:202:19: error: expected identifier or '('
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:33: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:202:19: error: expected ')'
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:33: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:202:19: note: to match this '('
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:32: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:202:19: error: expected ')'
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:40: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:202:19: note: to match this '('
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:30: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:202:19: error: expected ')'
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:59: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:202:19: note: to match this '('
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:29: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:202:19: error: expected ')'
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:74: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:202:19: note: to match this '('
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isinf'
isinff
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:226:19: note: expanded from macro 'isinff'
#define isinff(x) __ieeefp_isinff(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:223:28: note: expanded from macro '__ieeefp_isinff'
#define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:205:19: error: expected identifier or '('
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:34: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:205:19: error: expected ')'
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:34: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
/usr/include/bits/mathcalls.h:205:19: note: to match this '('
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:33: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:205:19: error: expected ')'
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:41: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
/usr/include/bits/mathcalls.h:205:19: note: to match this '('
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:31: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:205:19: error: expected ')'
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:60: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
/usr/include/bits/mathcalls.h:205:19: note: to match this '('
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'finite'
finitef
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:231:20: note: expanded from macro 'finitef'
#define finitef(x) __ieeefp_finitef(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:229:30: note: expanded from macro '__ieeefp_finitef'
#define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L))
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:235:19: error: expected identifier or '('
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:33: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:235:19: error: expected ')'
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:33: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:235:19: note: to match this '('
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:32: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:235:19: error: expected ')'
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:40: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:235:19: note: to match this '('
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:30: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:235:19: error: expected ')'
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:59: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:235:19: note: to match this '('
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:29: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:51:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_config.h:1:
In file included from /home/dev/asmjsphp/php-src/include/../main/php_config.h:2426:
In file included from /usr/include/math.h:94:
/usr/include/bits/mathcalls.h:235:19: error: expected ')'
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:74: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
/usr/include/bits/mathcalls.h:235:19: note: to match this '('
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^
/usr/include/math.h:65:31: note: expanded from macro '__MATHDECL_1'
extern type __MATH_PRECNAME(function,suffix) args __THROW
^
/usr/include/math.h:88:35: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
^
<scratch space>:198:1: note: expanded from macro 'isnan'
isnanf
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:220:19: note: expanded from macro 'isnanf'
#define isnanf(x) __ieeefp_isnanf(x)
^
/home/dev/asmjsphp/system/include/libc/ieeefp.h:217:28: note: expanded from macro '__ieeefp_isnanf'
#define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && \
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:258:
In file included from /usr/include/limits.h:145:
/usr/include/bits/posix1_lim.h:97:9: warning: '_POSIX_PATH_MAX' macro redefined
#define _POSIX_PATH_MAX 256
^
/home/dev/asmjsphp/system/include/libc/limits.h:151:9: note: previous definition is here
#define _POSIX_PATH_MAX PATH_MAX
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:258:
In file included from /usr/include/limits.h:145:
In file included from /usr/include/bits/posix1_lim.h:157:
In file included from /usr/include/bits/local_lim.h:39:
/usr/include/linux/limits.h:7:9: warning: 'ARG_MAX' macro redefined
#define ARG_MAX 131072 /* # bytes of args + environ for exec() */
^
/home/dev/asmjsphp/system/include/libc/limits.h:140:9: note: previous definition is here
#define ARG_MAX 4096
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:34:
In file included from /home/dev/asmjsphp/php-src/Zend/zend.h:258:
In file included from /usr/include/limits.h:145:
In file included from /usr/include/bits/posix1_lim.h:157:
/usr/include/bits/local_lim.h:82:9: warning: 'PTHREAD_STACK_MIN' macro redefined
#define PTHREAD_STACK_MIN 16384
^
/home/dev/asmjsphp/system/include/libc/limits.h:152:9: note: previous definition is here
#define PTHREAD_STACK_MIN 0
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:38:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_API.h:26:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_modules.h:26:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_compile.h:418:
In file included from /home/dev/asmjsphp/php-src/Zend/zend_globals.h:26:
/usr/include/setjmp.h:60:12: warning: declaration of built-in function '__sigsetjmp' requires inclusion of the header <setjmp.h> [-Wbuiltin-requires-header]
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:165:
In file included from /usr/include/unistd.h:203:
/usr/include/bits/posix_opt.h:70:9: warning: '_POSIX_THREADS' macro redefined
#define _POSIX_THREADS 200809L
^
/home/dev/asmjsphp/system/include/libc/sys/features.h:30:9: note: previous definition is here
#define _POSIX_THREADS 200112L
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:165:
In file included from /usr/include/unistd.h:203:
/usr/include/bits/posix_opt.h:104:9: warning: '_POSIX_REALTIME_SIGNALS' macro redefined
#define _POSIX_REALTIME_SIGNALS 200809L
^
/home/dev/asmjsphp/system/include/libc/sys/features.h:29:9: note: previous definition is here
#define _POSIX_REALTIME_SIGNALS 1
^
In file included from /home/dev/asmjsphp/php-src/ext/date/php_date.c:21:
In file included from /home/dev/asmjsphp/php-src/main/php.h:165:
In file included from /usr/include/unistd.h:203:
/usr/include/bits/posix_opt.h:135:9: warning: '_POSIX_READER_WRITER_LOCKS' macro redefined
#define _POSIX_READER_WRITER_LOCKS 200809L
^
/home/dev/asmjsphp/system/include/libc/sys/features.h:32:9: note: previous definition is here
#define _POSIX_READER_WRITER_LOCKS 200112L
^
7 warnings and 14 errors generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
make: *** [ext/date/php_date.lo] Fehler 1
dev@ubuntu:~/asmjsphp/php-src$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment