/usr/include/stdio.h should not be included when compiling with emscripten.
Is it possible that hello_world.c file has been modified to point to
/usr/include directly?

If that's not it, running emcc with  emcc -v  (for verbose output) will
show the include paths, and hopefully explain why /usr/include is present.

On Fri, Apr 26, 2019 at 8:09 AM Mi To <[email protected]> wrote:

> I am Japanese man.
>
> I was inputed below commands.
> ----------
> cd /emsdk/emscripten/1.38.30/
> emcc -v tests/hello_world.c
> ----------
>
> and I got below error...
> ----------
> In file included from tests/hello_world.c:8:
> /usr/include/stdio.h:46:9: error: unknown type name '__gnuc_va_list'
> typedef _G_va_list va_list;
> ----------
>
> How to solve it?
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to