Skip to content

error: cannot compile this aggregate va_arg expression yet #2238

Closed
@nick7ikin

Description

@nick7ikin

Hi,

I'm not C-guru, so maybe I'm doing something wrong...

So I'm trying to compile pthread library using emscripten. I know that javascript and emscripten have a threading model quite different from native one, but here is another issue. I run the following commands

emconfigure ./configure --disable-shared --enable-static
emmake make

and got compiler error:

/home/user/emscripten/system/include/libc/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
#warning redirecting incorrect #include <sys/signal.h> to <signal.h>
 ^
pth_event.c:155:25: error: cannot compile this aggregate va_arg expression yet
        pth_time_t tv = va_arg(ap, pth_time_t);
                        ^~~~~~~~~~~~~~~~~~~~~~

This is strange cause I installed emscripten a week ago, so it is quite fresh. Could you please give any suggestion how to handle it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions