I just tried it and actually no it doesn't. It ends with the same error. It compiles on gcc. Would it make a difference if I was on the master branch vs incoming?
On Tuesday, October 7, 2014 2:54:29 PM UTC-7, Alon Zakai wrote: > > Does it build natively with clang (same clang as emscripten is using)? > > - Alon > > > On Mon, Oct 6, 2014 at 11:29 PM, <[email protected] <javascript:>> > wrote: > >> The error is this upon emmake make >> src/gc/orchestrate.c:38:9: error: statement requires expression of >> integer type >> ('volatile size_t *' (aka 'volatile unsigned int *') invalid) >> switch (MVM_load(&to_signal->gc_status)) { >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> The code is >> #define MVM_load(addr) AO_load_full((volatile AO_t *)(addr)) >> >> while (1) { >> switch (MVM_load(&to_signal->gc_status)) { >> case MVMGCStatus_NONE: >> /* Try to set it from running to interrupted - the common >> case. */ >> if (MVM_cas(&to_signal->gc_status, MVMGCStatus_NONE, >> MVMGCStatus_INTERRUPT) == MVMGCStatus_NONE) { >> GCDEBUG_LOG(tc, MVM_GC_DEBUG_ORCHESTRATE, "Thread %d >> run %d : Signalled thread %d to interrupt\n", to_signal->thread_id); >> return 1; >> } >> break; >> >> Im not understanding why this is invalid? Any ideas? >> >> -- >> 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] <javascript:>. >> 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.
