Skip to content

Manually build headers error: Vim only works with 32 bit int or larger #267

@glyh

Description

@glyh

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

  1. set environment variable cur_install to "/tmp/libvim-test-export"
  2. run build/build-posix.sh
  3. open vim.h under generated include path

Expected behavior
No errors

Screenshots
image

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions