[openib-general] there are compilation warnings in complib

Hal Rosenstock halr at voltaire.com
Thu Jul 13 06:15:30 PDT 2006


On Thu, 2006-07-13 at 07:52, Michael S. Tsirkin wrote:
> 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?

Not exactly. This is the implementation of the deprecated routines using
the deprecated structures.

> I suggest compiling cl_memory.c with -Wno-deprecated then.

Thanks. -Wno-deprecated-declaration should be sufficient for this.

-- Hal





More information about the general mailing list