bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Fixed tests build on EDG-based compilers


From: Bruno Haible
Subject: Re: [PATCH] Fixed tests build on EDG-based compilers
Date: Mon, 06 Dec 2021 21:34:43 +0100

Paul Eggert wrote:
> intprops.h 
> should look at __EDG__ and not bother with __ICC. (Perhaps this should 
> be true elsewhere in Gnulib?)

Ilya, you can investigate in this direction by creating a full gnulib
testdir and compiling it with your LCC:

  $ ./gnulib-tool --create-testdir --dir=testdir-all --with-c++-tests \
                  --without-privileged-tests --single-configure
  $ cd testdir-all
  (set CC and CXX environment variables)
  $ ./configure 2>&1 | tee log1
  $ make 2>&1 | tee log2
  $ make check 2>&1 | tee log3

If you get compilation errors already in the 'make' step, feel free to
investigate and report. They may well be errors that we already handled
through 'defined __ICC'.

> I installed the attached to try to modernize intprops.h in the light of 
> these developments.

Let's inhibit Karl's copy-from-glibc for the moment, then.


2021-12-06  Bruno Haible  <bruno@clisp.org>

        intprops: Break sync with glibc.
        * config/srclist.txt: Comment out intprops.h.

diff --git a/config/srclist.txt b/config/srclist.txt
index 557b5dbae..b6c51049d 100644
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -63,7 +63,7 @@ $LIBCSRC malloc/scratch_buffer_dupfree.c      lib/malloc
 $LIBCSRC malloc/scratch_buffer_grow.c  lib/malloc
 $LIBCSRC malloc/scratch_buffer_grow_preserve.c lib/malloc
 $LIBCSRC malloc/scratch_buffer_set_array_size.c        lib/malloc
-$LIBCSRC include/intprops.h             lib
+#$LIBCSRC include/intprops.h             lib
 $LIBCSRC misc/sys/cdefs.h              lib
 #$LIBCSRC posix/regcomp.c              lib
 $LIBCSRC posix/regex.c                 lib






reply via email to

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