Oleg Goodyckov wrote: > During compilation of Vim 7.0 under AIX (5.1 or 5.2) I get the next error: > "message.c", line 4180.1: 1506-191 (E) The character # is not a valid C > source character. > "message.c", line 4180.2: 1506-046 (S) Syntax error. > "message.c", line 4182.1: 1506-191 (E) The character # is not a valid C > source character. > "message.c", line 4185.1: 1506-191 (E) The character # is not a valid C > source character. > "message.c", line 4185.2: 1506-275 (S) Unexpected text endif encountered. > > > Referred lines contain preprocessor directives: > char *q = memchr(str_arg, '\0', > ##if SIZEOF_INT <= 2 > precision > #else > precision <= (size_t)0x7fffffffL ? precision > : (size_t)0x7fffffffL > #endif > > > These directives are not compilable because function memchr() used in > this code fragment on AIX is redefined as macro (see the fragment of the > file /usr/include/string.h below):
This was fixed in patch 7.0.007. -- ARTHUR: I am your king! WOMAN: Well, I didn't vote for you. ARTHUR: You don't vote for kings. WOMAN: Well, 'ow did you become king then? The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///