[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HEAD fails to build with --enable-checking=structs
From: |
Eli Zaretskii |
Subject: |
Re: HEAD fails to build with --enable-checking=structs |
Date: |
Wed, 23 Nov 2022 18:52:13 +0200 |
> From: Vibhav Pant <vibhavp@gmail.com>
> Date: Wed, 23 Nov 2022 22:09:56 +0530
>
> HEAD fails to build when configured with "--enable-checking=structs"
> with the following error:
>
> pdumper.c: In function ‘dump_buffer’:
> pdumper.c:2752:3: error: #error "buffer changed. See CHECK_STRUCTS
> comment in config.h."
> 2752 | # error "buffer changed. See CHECK_STRUCTS comment in
> config.h."
> | ^~~~~
> pdumper.c: In function ‘dump_vectorlike’:
> pdumper.c:3004:3: error: #error "pvec_type changed. See
> CHECK_STRUCTS comment in config.h."
> 3004 | # error "pvec_type changed. See CHECK_STRUCTS comment in
> config.h."
> | ^~~~~
>
> IIUC, this might be due to the tree-sitter changes causing the dmpstruct
> hash for the respective types to change. pdumper.c should likely be
> updated with the new hashes and placeholder code to abort/error out if a
> buffer has associated tree-sitter parsers.
Did you read that comment to which this error message alludes? It tells how
to fix that, and the key to that is a file that is already there on your
system. So if you could post the relevant parts of it, that would help us
fix this faster.
TIA