[openib-general] there are compilation warnings in complib

Michael S. Tsirkin mst at mellanox.co.il
Thu Jul 13 04:52:57 PDT 2006


Quoting r. Hal Rosenstock <halr at voltaire.com>:
> > In file included from cl_memory.c:55:
> > ./../include/complib/cl_memtrack.h:99: warning: `cl_mem_tracker_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:82)
> > cl_memory.c:74: warning: `cl_mem_tracker_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:82)
> > 
> > Can you please fix them?
> 
> These warnings are expected as those routines and structures are being
> deprecated. There was a thread on openib-general on using malloc/free
> directly which is what is now done in (at least in the Linux complib; I
> don't know if this is being carried over to the Windows one as that is a
> separate implementation).

So, one deprecated routine is including another?
I suggest compiling cl_memory.c with -Wno-deprecated then.

-- 
MST




More information about the general mailing list