> Completely silent - and successful. Am I missing anything? Which warnings 
are you getting? 

Hi Shlomi, I included 2 examples below, showing that a single warning 
generates almost a page. 

Note that I have tried emscripten before, the portable version, as a 
dependency of webassembly (failed). 

This time it was the Windows installer, just to make sure nothing depended 
on me following instructions. 

Jan



C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\mman\mmap.c:40:1: 
warning: alias will always
      resolve to __mmap even if weak definition of alias mmap is overridden 
[-Wignored-attributes]
LFS64(mmap);
^
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal\libc.h:72:18:
 
note: expanded from macro
      'LFS64'
#define LFS64(x) LFS64_2(x, x##64)
                 ^
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal\libc.h:69:23:
 
note: expanded from macro
      'LFS64_2'
#define LFS64_2(x, y) weak_alias(x, y)
                      ^
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal\libc.h:66:48:
 
note: expanded from macro
      'weak_alias'
        extern __typeof(old) new __attribute__((weak, alias(#old)))
                                                      ^
1 warning generated.
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\stdio\__stdio_seek.c:7:37:
 
warning: shift count
      >= width of type [-Wshift-count-overflow]
        if (syscall(SYS__llseek, f->fd, off>>32, off, &ret, whence)<0)
                                           ^ ~~
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal/syscall.h:44:46:
 
note: expanded from
      macro 'syscall'
#define syscall(...) __syscall_ret(__syscall(__VA_ARGS__))
                                             ^
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal/syscall.h:41:53:
 
note: expanded from
      macro '__syscall'
#define __syscall(n, ...) __syscall_emscripten(n, ##__VA_ARGS__)
                                                    ^
C:\Program 
Files\Emscripten\emscripten\1.35.0\system\lib\libc\musl\src\internal/syscall.h:40:56:
 
note: expanded from
      macro '__syscall_emscripten'
#define __syscall_emscripten(n, ...) __syscall##n(n, ##__VA_ARGS__)
                                                       ^
1 warning generated.



The contents of my test.c file, compiled with "emcc test.c":

#include <stdio.h>

int main() {
  printf("hello, world!\n");
  return 0;
}

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to