My compiler gave me the following warning for some code:
\main.c(83) : warning C4047: 'initializing' : 'float *' differs in levels of indirection from 'int'
line 83 reads:
and is a pointer declaration that is inside a function other than main (local to?, still getting used to the meta-language). The code seems to work fine but I am interested in what the compiler is trying to tell me here.Code:float *weights = malloc(n* sizeof *weights);
Any comments would of course be greatly appreciated.