Hello,
I compiled my example with msvc2005 ,and the warning occured:
c:\coin-3.0.0-bin-msvc8\include\inventor\sbbasic.h(95) : warning C4100: “dividerâ€: unreferenced formal parameter。I opened the file sbbasic.h,and found that code as follows:
Code:
inline void SbDividerChk(const char * funcname, Type divider) { #ifndef NDEBUG //from here the word become grey if (!(divider != static_cast<Type>(0))) cc_debugerror_post(funcname, "divide by zero error.", divider); // end of the word becoming grey #endif // !NDEBUG }
Why?
