cpc icon indicating copy to clipboard operation
cpc copied to clipboard

Continuation Passing C

Results 8 cpc issues
Sort by recently updated
recently updated
newest added

CPC runtime has its own cpc_condvar, so it should have CPC-specific longjmp as well. Desired use case: replace [broken Asincify in EmScripten](https://github.com/kripken/emscripten/wiki/Emterpreter#comparison-to-asyncify). It's stated that: > ASYNCIFY has a bad...

It stops at ``` /tmp/cpc-0.9.1/bin/cpc.native --out /tmp/cil-VkoZo7Zq.cil.c --warnall /tmp/cil-1o8J_C5l.i ``` where the program never finishes (and use 100% CPU). This happens both on the git and the released version.

There is a missing dependency. I'm on debian with the usual packages. ``` /usr/bin/ocamlopt.opt -c -I src/ext -I ocamlutil -I src -I src/frontc -I src/ext/pta -o src/ext/blockinggraph.cmx src/ext/blockinggraph.ml File "src/ext/blockinggraph.ml",...

Using the sample file, I get the error: ``` Error: coroutine-cpc.c:10: wrong number of arguments in function call: *(s->f) Fatal error: exception Errormsg.Error ``` I think this is due to...

/home/cs648/qemu/tcg/tcg.c:1642: Warning: Body of function tcg_reg_alloc falls-through. Adding a return statement gcc -D_GNUCC -E -I/home/cs648/qemu/tcg -I/home/cs648/qemu/tcg/i386 -I/home/cs648/qemu/linux-headers -I/home/cs648/qemu/bin/current/linux-headers -I. -I/home/cs648/qemu -I/home/cs648/qemu/include -I/home/cs648/qemu/tcg -Itcg -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__SSE2__ -w...

Dead code may lead to that kind of Warning : dead-code.cpc:3: Warning: Body of function ret falls-through. Adding a return statement Example of code : ``` /* dead-code.cpc */ int...