Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
I tired to build this library with build/build-posix.sh on arch linux, only to find the generated headers has a bunch of errors in it.
The generated header files & static library can't be build to another program with the following commands because of the errors in it.
gcc -g -I./include test.c -o out -L./lib -lvim
To Reproduce
- set environment variable cur_install to "/tmp/libvim-test-export"
- run build/build-posix.sh
- open vim.h under generated include path
Expected behavior
No errors
Screenshots

Environment (please complete the following information):
- libvim version: last commit 9ade7d1
- OS:
Linux arch 5.13.9-arch1-1 #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000 x86_64 GNU/Linux
- Terminal: alacritty (does that matter?)
Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
I tired to build this library with build/build-posix.sh on arch linux, only to find the generated headers has a bunch of errors in it.
The generated header files & static library can't be build to another program with the following commands because of the errors in it.
To Reproduce
Expected behavior
No errors
Screenshots

Environment (please complete the following information):
Linux arch 5.13.9-arch1-1 #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000 x86_64 GNU/Linux