<br><br><b><i>Brad King &lt;brad.king@kitware.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>I've found that a KDE_DEPRECATED-style macro is insufficient across <br>compilers.  Some compilers want the decoration before the method and <br>some want it after the method.  In VTK I created a "VTK_LEGACY" macro <br>that surrounds the method declaration.<br><br></blockquote>If we really need both positions then we could support this by<br>using two macros:<br><br>KDE_DEPRECATED_PRE void foo() KDE_DEPRECATED_POST<br><br>or<br><br> KDE_DEPRECATED_PRE<br> void foo()<br> KDE_DEPRECATED_POST<br><br>So we could find a macro solution for all compiler.<br><br>Peter<br><br><br><br><p>
                <hr size=1>Yahoo! Mail<br>
Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a> makes sharing a breeze.