-DNVCC flag?

I’m getting the error described a few posts down in this thread: http://forums.nvidia.com/index.php?showtopic=90555

The error when I compile is
“/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: `&’ cannot appear in a constant-expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: template argument 2 is invalid”
… and so on.

I’m compiling a kernel with nvcc and have tried using the -DNVCC flag, but it did not help me as it did the user in the thread above. What does this flag do? I don’t see it in the nvcc man page…