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

Re: [rtl] Using Vector Libary (VL) in rtlinux



>>>>> "Yunho" == Yunho Jeon <yunho@skylark.snu.ac.kr> 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