>>>>> "Yunho" == Yunho Jeon <[EMAIL PROTECTED]> writes:

 Yunho> 1. Header file problems:

 Yunho> There is difference how NULL is defined for C and C++. In C,
 Yunho> NULL is usually (void*)0, but in C++ NULL should be 0 to avoid
 Yunho> many warning messages.

Actually, #define NULL 0  is the right way for either language.  I
don't know where the strange habit of writing (void *)0 comes from,
but it isn't necessary and adds nothing useful.

        paul

-- [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