aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-01-14 12:45:41 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-14 15:05:21 +0700
commitbba4dd6fd3539b3c7131b4be2884284dd970a280 (patch)
treee526ed712a255fb09f08e8bacb88683c970cde4f /emcc
parenta15486ffea916f46cca822d7614a44e48393b8d7 (diff)
Replace implementation of warn*/err*.
This eliminates a large number of warnings about incompatible function pointer casts when compiling for asm.js.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc11
1 files changed, 3 insertions, 8 deletions
diff --git a/emcc b/emcc
index 0423ffaf..dc24a36b 100755
--- a/emcc
+++ b/emcc
@@ -1441,20 +1441,15 @@ try:
'dlmalloc.c',
os.path.join('libcxx', 'new.cpp'),
os.path.join('libc', 'stdlib', 'getopt_long.c'),
- os.path.join('libc', 'gen', 'err.c'),
- os.path.join('libc', 'gen', 'errx.c'),
- os.path.join('libc', 'gen', 'warn.c'),
- os.path.join('libc', 'gen', 'warnx.c'),
- os.path.join('libc', 'gen', 'verr.c'),
- os.path.join('libc', 'gen', 'verrx.c'),
- os.path.join('libc', 'gen', 'vwarn.c'),
- os.path.join('libc', 'gen', 'vwarnx.c'),
]
musl_files = [
['internal', [
'floatscan.c',
'shgetc.c',
]],
+ ['legacy', [
+ 'err.c',
+ ]],
['math', [
'scalbn.c',
'scalbnl.c',