[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mbuff.h



I try to use shared memory with mbuff in a linux program.
When trying to compile it:
In file included from main.cc:29:
/usr/src/rtl/drivers/mbuff/mbuff.h: In function `char *
mbuff_attach(const char *, int)':
/usr/src/rtl/drivers/mbuff/mbuff.h:140: ANSI C++ forbids implicit
conversion from `void *' in return
What these errors, i haven't touched mbuff.h.
How i have to compile the program? 
Thanks in advance.