I get these warnings when compiling on HP-UX:
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/misc1.o misc1.c
cc: "misc1.c", line 10178: warning 604: Pointers are not
assignment-compatible.
cc: "misc1.c", line 10178: warning 563: Argument #1 is not the correct type.
cc: "misc1.c", line 10940: warning 604: Pointers are not
assignment-compatible.
cc: "misc1.c", line 10940: warning 563: Argument #1 is not the correct type.
Adding a "char *" cast to the buf variable (line 10178) and the f
variable (line 10940) seems to make the compiler happy, like so:
Change line 10178 from:
if ((flags & EW_ALLLINKS) ? mch_lstat(buf, &sb) >= 0
to:
if ((flags & EW_ALLLINKS) ? mch_lstat((char *)buf, &sb) >= 0
Change line 10940 from:
? mch_lstat(f, &sb) < 0 : mch_getperm(f) < 0))
to
? mch_lstat((char *)f, &sb) < 0 : mch_getperm(f) < 0))
Cheers
John
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.