[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation of current git fails
From: |
Werner LEMBERG |
Subject: |
Re: compilation of current git fails |
Date: |
Wed, 17 May 2023 05:17:02 +0000 (UTC) |
>> cannot confirm, builds fine here (Arch Linux). What OS/compiler are
>> you using?
>
> Attached is my `config.log` file. I've tries two compilers, gcc
> 7.5.0 and gcc 10.4.0, with the same result. The error is completely
> mysterious; it shouldn't happen at all actually.
The problem is
```
#ifndef DEBUG_H
```
in file `parsetexi/debug.h`: `DEBUG_H` is already defined in
`/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE/perl.h` (looking
into `perl.h` from version 5.36.1 I see this has been fixed
meanwhile).
If I apply
```
diff --git a/tp/Texinfo/XS/parsetexi/debug.h b/tp/Texinfo/XS/parsetexi/debug.h
index 7b7664c2b5..98fdd0abd6 100644
--- a/tp/Texinfo/XS/parsetexi/debug.h
+++ b/tp/Texinfo/XS/parsetexi/debug.h
@@ -1,6 +1,6 @@
/* debug.h - declarations for debug.c */
-#ifndef DEBUG_H
-#define DEBUG_H
+#ifndef DEBUGGING_H
+#define DEBUGGING_H
/* Copyright 2023 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
```
compilation is just fine.
Werner