wsmoses / Tapir-compiler-rt

Other
4 stars 1 forks source link

Doesn't compile on old compiler #3

Closed wsmoses closed 6 years ago

wsmoses commented 6 years ago

/root/llvm_sources-tapir5.0/llvm/projects/compiler-rt/lib/cilkscale/csanrt.c: In function ‘__csirt_unit_init’: /root/llvm_sources-tapir5.0/llvm/projects/compiler-rt/lib/cilkscale/csanrt.c:269:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int i = 0; i < NUM_FED_TYPES; ++i) {

neboat commented 6 years ago

What compiler is being used that leads to this error? I need to be able to reproduce the issue.