c++ undeclared identifier in template
<p>I have the following code</p>

<pre><code>#define HANDLE_EX(aa) catch(x::aa *ex)\
    {\
        ##aa* ex1 = dynamic_cast&lt;##aa*&gt;(ex);\
         .... and so on
}
</code></pre>

<p>the first line causes an error "'ex1': undeclare identifier
anyone have any idea what that means here?</p>
