Nested Templates Compiling issues on Mac OS X


I have compilation issues using nvcc when I use Nested Templates.

Here is my declaration:

#define read_t dword_t<dword_t<bit64_t> >

And when I declare variables of type read_t, I am getting errors, as below: error: ‘_ZN7dword_tIS_IyEEC1Ev’ was not declared in this scope

How do I get around this?

Thank you