[openib-general] there are compilation warnings in complib

Hal Rosenstock halr at voltaire.com
Thu Jul 13 05:11:01 PDT 2006


On Thu, 2006-07-13 at 06:48, Dotan Barak wrote:
> On Thursday 13 July 2006 13:25, Hal Rosenstock wrote:
> > > ./../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)
> > > cl_memory.c: In function `__cl_mem_track_start':
> > > cl_memory.c:106: warning: `cl_mem_tracker_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:82)
> > > cl_memory.c:106: warning: `cl_mem_tracker_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:82)
> > > cl_memory.c: In function `__cl_mem_track_stop':
> > > cl_memory.c:143: warning: `cl_mem_display' is deprecated (declared at ./../include/complib/cl_memory.h:139)
> > > cl_memory.c:152: warning: `cl_malloc_hdr_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:96)
> > > cl_memory.c:152: warning: `cl_malloc_hdr_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:96)
> > > cl_memory.c:159: warning: `cl_malloc_hdr_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:96)
> > > cl_memory.c:159: warning: `cl_malloc_hdr_t' is deprecated (declared at ./../include/complib/cl_memtrack.h:96)
> > 
> > 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).
> > 
> > -- Hal
> > 
> 
> If another c file or library would have used this header file, so those warning messages 
> were understandable, but we get those warnings when we compile the comp_lib ...

I'm unaware of a clean way to make that happen. 

-- Hal

> Dotan





More information about the general mailing list