On 10/24/2013 01:43 PM, Iyer, Balaji V wrote:
>> In file included from ../../../git-master/libcilkrts/runtime/cilk-abi.c:52:0:
>> ../../../git-master/libcilkrts/include/cilk/cilk_api.h:59:9: warning: 
>> #warning Cilk
>> API is being used with non-Cilk compiler (or Cilk is disabled) [-Wcpp]
>>  #       warning Cilk API is being used with non-Cilk compiler (or Cilk is
>> disabled)
>>
>> and similar for
>>
>>  ../../../git-master/libcilkrts/runtime/global_state.cpp:44
>>  ../../../git-master/libcilkrts/runtime/reducer_impl.cpp:59
>>  ../../../git-master/libcilkrts/runtime/scheduler.c:74:0:
> 
> To compile Cilk Library (libcilkrts), the compiler must have _Cilk_spawn and 
> _Cilk_sync support. For this patch, I have defined (please see Makefile.am 
> under GENERAL_FLAGS) the cilk-keywords to NULL to make this patch compile. 
> When I commit this patch, I will commit the patches in the following order 
> (after everything is approved that is):
> 
> 1. Commit the _Cilk_spawn and _Cilk_sync for C and C++
> 2. Remove the -D_Cilk_spawn="" and -D_Cilk_sync="" and -D_Cilk_for=for from 
> the Makefile.am
> 3. Commit the Cilk library patch
> 
> If we do it in the above order, you won't see those warnings.

Fair enough.  I just didn't know what the warnings meant.


r~

Reply via email to