On Wed, Mar 21, 2001 at 08:54:33PM +0800, crzhang wrote:
> 
> Hi, all
> I want to use mbuff.h and math.h in c++ in RTLinux, but I didn't pass the compiler, 
>do you pass and success? Can you tell me how to do?
> 

What's the problem?

At the first, you should (re)member about the <<extern "C">>.
At the second, you should trust your compiler.
For example, my compliler says:
/usr/src/rtlinux-3.0/include/mbuff.h:138: ANSI C++ forbids implicit
conversion from `void *' in return

Well, I've changed the line 138 of mbuff.h.  It works!

I can't say anything about math.h but it seems to me, the problem can be
solved similary.

-- 
WBR & WBW, Vitaly.

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to