John Marriott wrote:
> This patch fails to compile if FEAT_LOCALMAP is not defined:
>
> <snip>
>
> gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400
> -DHAVE_PATHDEF -DFEAT_BIG -DFEAT_MBYTE -pipe -w -
>
> march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return
> -s getchar.c -o obj/getchar.o
>
> getchar.c: In function 'check_map':
>
> getchar.c:5089:21: error: 'local' undeclared (first use in this
> function)
>
> getchar.c:5089:21: note: each undeclared identifier is reported
> only once for each function it appears in
>
> make: *** [obj/getchar.o] Error 1
>
> </snip>
>
> The attached patch seems to fix it.
Thanks, I'll include it quickly.
--
GUARD #1: Where'd you get the coconut?
ARTHUR: We found them.
GUARD #1: Found them? In Mercea? The coconut's tropical!
ARTHUR: What do you mean?
GUARD #1: Well, this is a temperate zone.
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 ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php