bug-gnulib
[Top][All Lists]
Advanced

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

Re: removing stdint's dependency on wchar


From: Bruno Haible
Subject: Re: removing stdint's dependency on wchar
Date: Mon, 11 Apr 2011 02:27:49 +0200
User-agent: KMail/1.9.9

This patch from 2011-02-18 introduces a regression on OSF/1:

> 2011-02-18  Bruno Haible  <address@hidden>
> 
>         stdint: Cut dependency to module 'wchar'.
>         * lib/stdint.in.h: Include wchar.h only when HAVE_WCHAR_H is 1. Also
>         include the necessary prerequisites.
>         * m4/stdint.m4 (gl_STDINT_H): Test whether wchar.h exists.
>         * modules/stdint (Depends-on): Remove wchar.
>         (Makefile.am): Substitute HAVE_WCHAR_H.
>         This reverts part of a 2007-01-06 commit. Reported by Paul Eggert.

cc -O -DHAVE_CONFIG_H -I. -I../../gltests  -DGNULIB_STRICT_CHECKING=1 -I. 
-I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib    
-c ../../gltests/test-stdint.c
cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type list. 
(parmtyplist)
                __VA_LIST__ __arg);
----------------^
cc: Error: /usr/include.dtk/wchar.h, line 83: Ill-formed parameter type list. 
(parmtyplist)
                __VA_LIST__ __arg);
----------------^
cc: Error: /usr/include.dtk/wchar.h, line 87: Ill-formed parameter type list. 
(parmtyplist)
                __VA_LIST__ __arg);
----------------^
gmake[4]: *** [test-stdint.o] Error 1


This fixes it:


2011-04-10  Bruno Haible  <address@hidden>

        stdint test: Fix compilation failure on OSF/1 with DTK compiler.
        * modules/stdint-tests (Depends-on): Add wchar.

--- modules/stdint-tests.orig   Mon Apr 11 02:25:26 2011
+++ modules/stdint-tests        Mon Apr 11 02:20:18 2011
@@ -6,6 +6,7 @@
 Depends-on:
 verify
 intprops
+wchar
 
 configure.ac:
 gt_TYPE_WCHAR_T


-- 
In memoriam Hendrik Nicolaas Werkman 
<http://en.wikipedia.org/wiki/Hendrik_Nicolaas_Werkman>



reply via email to

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