emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HEAD fails to build with --enable-checking=structs


From: Vibhav Pant
Subject: HEAD fails to build with --enable-checking=structs
Date: Wed, 23 Nov 2022 22:09:56 +0530
User-agent: Evolution 3.46.1

Hi,

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.

Thanks,
Vibhav
-- 
Vibhav Pant
vibhavp@gmail.com
GPG: 7ED1 D48C 513C A024 BE3A  785F E3FB 28CB 6AB5 9598

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]