Attached.
I removed the line to #include osdef.h and yes it compiled it worked.
I think the terminal emulation might be a bit wonky on BeOS or there
was another problem, as I didn't see --INSERT--, but I did go in to
insert mode upon pressing 'i'. Wrote a file to /tmp/
Running the tests ('make test'?) didn't have as much luck; the tail attached.
SB
On Sat, Feb 6, 2016 at 4:16 PM, Dominique Pellé
<[email protected]> wrote:
> Shaun Brady <[email protected]> wrote:
>
>> Not right off the bat (see attached). Also, don't take my response as
>> a tally mark for a BeOS user. I grabbed the latest Haiku virtual
>> machine image and tried it out. I was just joking with a friend last
>> week about switching to BeOS, so I did it as more of a gag.
>>
>> Steps:
>> $ git clone https://www.github/vim/vim.git
>> $ cd vim
>> $ make
>>
>> Of note, vim (nor vi) is NOT installed in Haiku.
>>
>> SB
>
>
> The error in your attached file is:
>
> config.status: creating auto/config.h make -f Makefile all make[2]:
> Entering directory `/boot/home/vim/src' mkdir objects CC="gcc -Iproto
> -DHAVE_CONFIG_H " srcdir=. sh ./osdef.sh gcc -c -I. -Iproto
> -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -o objects/buffer.o
> buffer.c In file included from /boot/home/vim/src/vim.h:294,
> from /boot/home/vim/src/buffer.c:28:
> /boot/home/vim/src/auto/osdef.h:40: parse error before `('
> /boot/home/vim/src/auto/osdef.h:40: parse error before `void'
> /boot/home/vim/src/auto/osdef.h:56: parse error before `('
> /boot/home/vim/src/auto/osdef.h:56: warning: conflicting types for
> built-in function `memset' make[2]: *** [objects/buffer.o] Error 1
> make[2]: Leaving directory `/boot/home/vim/src' make[1]: *** [myself]
> Error 2 make[1]: Leaving directory `/boot/home/vim/src' make: ***
> [first] Error 2 ~/vim>
>
>
> vim/src/auto/osdef.h is a generated header. Can you attach it?
> I also wonder whether Vim would compile if we just disable
> the include of "auto/osdef.h" in Vim.h at line 293. I see that
> it's not included for MACOX_X for example.
>
> I remember trying Haiku ~5 years ago. I thought of fixing Vim
> for Haiku, but it compiled and worked quite OK for me. All tests
> passed without any change at the time. See:
>
> http://permalink.gmane.org/gmane.editors.vim.devel/27942
>
> Regards
> Dominique
>
> --
> --
> 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.
--
--
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.
Executing Test_symlink_recursive_delete()
Executing Test_valid()
Executing Test_with_directories()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executed 28 tests
test77 NO OUTPUT
From test_assert.vim:
Found errors in Test_assert_false():
function Test_assert_false line 2: Expected False but got v:false
Test results:
test77 NO OUTPUT
From test_assert.vim:
Found errors in Test_assert_false():
function Test_assert_false line 2: Expected False but got v:false
TEST FAILURE
make[2]: *** [report] Error 1
make[2]: Leaving directory `/boot/home/vim/src/testdir'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/boot/home/vim/src'
make: *** [test] Error 2
~/vim>
/*
* osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT
*/
/* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */
/*
* Declarations that may cause conflicts belong here so that osdef.sh
* can clean out the forest. Everything else belongs in os_unix.h
*
* How this works:
* - This file contains all unix prototypes that Vim might need.
* - The shell script osdef.sh is executed at compile time to remove all the
* prototypes that are in an include file. This results in osdef.h.
* - osdef.h is included in vim.h.
*
* sed cannot always handle so many commands, this is file 1 of 2
*/
#ifndef fopen /* could be redefined to fopen64() */
#endif
#ifdef HAVE_FSEEKO
#endif
#ifdef HAVE_FSEEKO
#endif
#ifndef ferror /* let me say it again: "macros should never have prototypes" */
#endif
#if defined(sun) || defined(_SEQUENT_)
/* used inside of stdio macros getc(), puts(), putchar()... */
extern int _flsbuf(int, FILE *);
extern int _filbuf(FILE *);
#endif
#if !defined(HAVE_SELECT)
struct pollfd; /* for poll() */
extern int poll(struct pollfd *, long, int);
#endif
#ifdef HAVE_MEMSET
#endif
#ifdef HAVE_BCMP
extern int bcmp(void *, void *, size_t);
#endif
#ifdef HAVE_MEMCMP
#endif
#ifdef HAVE_STRPBRK
#endif
#ifdef USEBCOPY
extern void bcopy(char *, char *, int);
#else
# ifdef USEMEMCPY
# else
# ifdef USEMEMMOVE
# endif
# endif
#endif
/* used inside of FD_ZERO macro: */
extern void bzero(void *, size_t);
#ifdef HAVE_SETSID
#endif
#ifdef HAVE_SETPGID
#endif
#ifdef HAVE_STRTOL
#endif
#ifdef HAVE_STRFTIME
#endif
#ifdef HAVE_STRCASECMP
#endif
#ifdef HAVE_STRNCASECMP
#endif
#ifndef strdup
#endif
#ifndef USE_SYSTEM
# ifndef __TANDEM
# endif
#endif
#ifdef HAVE_SIGSET
#endif
#if defined(HAVE_SETJMP_H)
# ifdef HAVE_SIGSETJMP
# else
# endif
#endif
#ifndef __TANDEM
#endif
#if defined(HAVE_GETCWD) && !defined(sun) && !defined(__TANDEM)
#else
extern char *getwd(char *);
#endif
#ifndef __alpha /* suggested by Campbell */
#endif
/*
* osdef2.h.in - See osdef1.h.in for a description.
*/
#ifndef __TANDEM
#endif
#ifndef __TANDEM
#endif
#ifndef __TANDEM
#endif
#ifndef stat /* could be redefined to stat64() */
#endif
#ifndef lstat /* could be redefined to lstat64() */
#endif
#ifndef __TANDEM
#endif
#ifdef HAVE_TERMIOS_H
#endif
#ifdef HAVE_SYS_STATFS_H
struct statfs; /* for fstatfs() */
extern int fstatfs(int, struct statfs *, int, int);
#endif
#ifdef HAVE_GETTIMEOFDAY
#endif
#ifdef HAVE_GETPWNAM
#endif
#ifdef USE_TMPNAM
#else
#endif
#ifdef ISC
extern int _Xmblen(char const *, size_t);
#else
/* This is different from the header but matches mblen() */
extern int _Xmblen(char *, size_t);
#endif