bug-gnulib
[Top][All Lists]
Advanced

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

Re: MinGW compilation errors with Gnulib wchar.h and wctype.h


From: Eli Zaretskii
Subject: Re: MinGW compilation errors with Gnulib wchar.h and wctype.h
Date: Sun, 09 Oct 2016 20:31:53 +0300

> From: Paul Eggert <address@hidden>
> Cc: address@hidden
> Date: Sun, 9 Oct 2016 10:10:38 -0700
> 
> Eli Zaretskii wrote:
> > I'm not sure what would be the best way of avoiding these errors
> 
> The usual method is to alter the gnulib .h file so that it merely 
> include_next's 
> the system .h file when it detects that its partial inclusion is desired. 
> Something like this:
> 
> #ifdef __need_FILE
> # @INCLUDE_NEXT@ @NEXT_STDIO_H@
> #elif !defined _GL_STDIO_H
> # @INCLUDE_NEXT@ @NEXT_STDIO_H@
> # define _GL_STDIO_H
>    /* our own fixups */
> #endif

I'm not sure I understand how this is different from what
e.g. Gnulib's wchar.h already does.  Can you point out the crucial
differences?

> It would be nicer if MinGW didn't have the problem in question. They could do 
> that by altering their include-file practices.

I agree.

Thanks.



reply via email to

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