[Top][All Lists]

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

RE: [bug-gnulib] New GNULIB glob module?

From: Conrad T. Pino
Subject: RE: [bug-gnulib] New GNULIB glob module?
Date: Sat, 28 May 2005 13:25:27 -0700

Hi Derek,

> From: Derek Price
> Done.  I added this comment to both glob_.h & glob.m4, with different
> comment leaders, of course:
> /* Note the reversal of the common HAVE_SYS_CDEFS_H idiom below.  In this
>    way, #ifndef _SYS_CDEFS_H may be used to include <sys/cdefs.h> both when
>    it has been checked for via the GNULIB configure test and found and when
>    it has not been checked for, which we can presume means that the <glob.h>
>    GNULIB shares with GLIBC is being included as a system header and not as
>    part of GNULIB, in which case <sys/cdefs.h> may be assumed.  */
> I'm going to commit what I have as the new glob module soon if noone
> says otherwise.  I and the CVS team made a few more minor changes to
> make it work on Solaris, BSD, and Windows, but it is now compiling and
> running on some 7 diverse platforms.
> After that I will write up a ChangeLog entry for the glob-glibc2gnulib
> diff and submit our changes back to the glibc team, unless someone here
> who is used to working with them would like to take a go at the actual
> submission part.  Perhaps it would be smoother if someone already known
> to the glibc team introduced me and this patch?  Is the "definitive"
> version of shared files usually in glibc, gnulib, or wherever someone
> last remembered to merge when this happens?

The recent commit:

        User: dprice  
        Date: 05/05/28 10:39:04

          config.h.in, configure
          config.h, config.h.in, stamp-chi


breaks the Windows build since Microsoft does NOT provide "sys/cdefs.h"

CVS Project compiles primarily with Visual Studio 6.0 on Windows 2000.

> Cheers,


> Derek


--------------------Configuration: libcvs - Win32 Debug--------------------
h:\conrad\projects\cvs-1.12\lib\glob.h(29) : fatal error C1083: Cannot open 
include file: 'sys/cdefs.h': No such file or directory
Error executing cl.exe.

cvs.exe - 1 error(s), 0 warning(s)

reply via email to

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