C #define based in another #define error
<p>So my Visual studio is declaring both tag1 and tag2 as undefined, but they are cleary defined, can't i define one based on the other?</p>

<pre><code>#define push                99
#define last_instruction    push

#ifdef DEBUG
    #define new_instr   (1+last_instruction) //should be 100
    #undef  last_instruction
    #define last_instruction   new_instr    //redifine to 100 if debug
#endif
</code></pre>

<p>I have some cases with tag2 and it says that the definition must be const, but it is constant it is 1+99, any help would be appreciated.</p>

<p>Thanks!
BA</p>