On 03/04/2008, char101 <[EMAIL PROTECTED]> wrote:

 >  On Apr 1, 3:53 pm, "Xiaozhou Liu" <[EMAIL PROTECTED]> wrote:
 >
 > [...]
 >
 >  The patch does not work with Visual C++ 9.0 2008. The
 >  main problem is this macros
 >
 >  +#define PUSH(s)        {                           \
 >  +                   if (stackp>= stack_end)\
 >  +                       return NULL;        \
 >  +                    *stackp++ = s;         \
 >  +               }
 >  +
 >  +#define POP()  ({                          \
 >  +                   if (stackp <= stack)    \
 >  +                       return NULL;        \
 >  +                   *--stackp;              \
 >  +                })

Looks like a gcc extension to me. Compiling with with -Wall
-Wextra -ansi -pedantic picks up this sort of thing. Why not
use ?: for the macros? --Antony

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui