[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib and C++ compilers
From: |
Bruno Haible |
Subject: |
Re: gnulib and C++ compilers |
Date: |
Wed, 12 Aug 2020 22:06:22 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
Florian Weimer wrote:
> Since gnulib is a copylib, it doesn't have much control over how it is
> built. It's one of the issues that came up while trying to build
> things with a C++ compiler instead of a C compiler.
gnulib code is meant to be compiled with a C compiler. The header files
are supposed to be consumable by a C or a C++ compiler.
If the issues you find, trying to compile gnulib code in C++ mode,
are easy to fix, we may do so. But in other areas (e.g. 'enum' handling)
I'm not sure we will want to go through the contortions.
Bruno