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: Sat, 19 Feb 2011 01:59:35 +0100
User-agent: KMail/1.9.9

Paul Eggert wrote:
> This suggests that we should use the name "stdint" for the
> common case, and some other name for the rare case of
> applications that need WINT_MIN etc.  It'd be easy to
> create a module "stdint-with-wchar" to do that

I disagree that "common" vs. "rare" should be guiding criterion here.

It's more important that a user gets a fully correct and fully POSIX
compliant <stdint.h> when he asks for the module name that most immediately
comes to mind, namely 'stdint'. Looking for a module with fewer dependencies
is optimization. It's OK that for optimizating you need to investigate a
little more the available set of modules, until you find 'stdint-sans-wchar'.

We use this approach already for the modules 'strstr' and 'strstr-simple'.

Bruno
-- 
In memoriam Khosrow Golsorkhi <http://en.wikipedia.org/wiki/Khosrow_Golsorkhi>



reply via email to

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