[PATCH 1/2] [vcs-to-changelog] Split ProjectQuirks out into its own file

2020-08-19 Thread Siddhesh Poyarekar
ProjectQuirks is used by external quirks files and importing it from vcs-to-changelog.py is broken since it was renamed to use hyphens. It is cleaner to put it in its own file anyway. * build-aux/vcstocl/projectquirks.py: A new file... * build-aux/vcs-to-changelog.py (ProjectQuirk

[PATCH 2/2] [vcs-to-changelog] Sync up ProjectQuirks comments and documentation

2020-08-19 Thread Siddhesh Poyarekar
Transform the ProjectQuirks comments into a docstring so that it can be accessed from python as ProjectQuirks.__doc__ and harmonize descriptions with the documentation. * build-aux/vcstocl/projectquirks.py (ProjectQuirks): Transform comments into a docstring. * doc/vcs-to-c

uchar: Fix compilation errors in C++ mode on macOS

2020-08-19 Thread Bruno Haible
> * m4/uchar.m4 (gl_UCHAR_H): Determine whether the C++ compiler > predefines char16_t and char32_t. Substitute CXX_HAS_UCHAR_TYPES. On Mac OS X (also clang), I get compilation failures in the same place. Here the situation a bit different: the types char16_t and char32_t are not defin

Re: uchar C++ tests: Fix build error on FreeBSD 12

2020-08-19 Thread Jeffrey Walton
On Wed, Aug 19, 2020 at 6:42 PM Bruno Haible wrote: > > > I've reported it as an autoconf bug > > . > > Here is the workaround. > > This is not the only hassle I'm seeing. In a testdir produced with... Lol... I'm sorry to see you suffering at the hands o

Re: uchar C++ tests: Fix build error on FreeBSD 12

2020-08-19 Thread Bruno Haible
> I've reported it as an autoconf bug > . > Here is the workaround. This is not the only hassle I'm seeing. In a testdir produced with ./gnulib-tool --create-testdir --dir=../testdir --single-configure --with-c++-tests uchar the gl_ANSI_CXX macro is ex

math C++ tests: Fix compilation error in with GCC 10

2020-08-19 Thread Bruno Haible
On a glibc system, with gcc 10.2.0, I'm seeing a compilation failure of test-math-c++.cc: In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219, from ../gllib/sys/types.h:39, from /usr/include/stdlib.h:314, from /media/nas/pub/arch

uchar: Fix compilation errors in C++ mode on OpenBSD

2020-08-19 Thread Bruno Haible
On OpenBSD 6.7, a testdir with C++ tests fails to compile: c++ -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib -I/home/bruno/prefix-cc/include -Wall -g -O2 -MT

Fix compilation errors in C++ mode on OpenBSD

2020-08-19 Thread Bruno Haible
On OpenBSD 6.7, with CC=cc CXX=c++ (i.e. clang and clang++, respectively), I'm seeing these compilation errors: depbase=`echo test-math-c++2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ c++ -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../