On 11/15/2013 02:23 PM, Iyer, Balaji V wrote:
One small thing that I have not done that Jakub and several other have asked me 
before is that, there are no tests in c-c++-common for _Cilk_for. The reason being 
that the syntax between C and C++ implementations are different. In C++, the 
induction variable must be defined in the initializer (e.g. it should start wth 
_Cilk_for (int ii = 0....)). In C, this is not allowed (e.g. it should start as 
_Cilk_for (ii = 0; ii < 10; ii++)).

That can be handled with #ifdef __cplusplus.

Jason

Reply via email to