bug-cvs
[Top][All Lists]
Advanced

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

Re: CVS update: /ccvs/ - cvsnt.dsp, readlink.c, xreadlink.c


From: Mark D. Baushke
Subject: Re: CVS update: /ccvs/ - cvsnt.dsp, readlink.c, xreadlink.c
Date: Thu, 04 Nov 2004 23:29:06 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Conrad T. Pino <Conrad@Pino.com> writes:

> Hi Mark,
> 
> > From: Conrad T. Pino
> > 
> > > > 2. File "lib/readlink.c" doesn't compile in Visual C++ 6.0 (VC6) and 
> > > > isn't
> > > > required for linking currently.
> > > 
> > > Hmmm... Why not?
> 
> The compile error occurs because none of the "#include" files cited contain a
> "typedef" declaration for the "size_t" indentifier.

Hmmm... so, in which #include file do you see size_t ?

   <string.h>    /* historical location */
   <stdio.h>     /* historical location */
   <stddef.h>    /* C89 defined location */
   <sys/types.h> /* GNULIB seens to think it should be here */

Looking more closely at the system, the windows-NT/config.h.in.in,
windows-NT/config.h.in and windows-NT/config.h files should all do

/* Define to `unsigned' if <sys/types.h> does not define. */
#define size_t unsigned

in order to 'fix' things... However, that will probably actually break
the build until readlink() is removed from widows-NT/filesubr.c too...

        -- Mark
   
> > I don't know.  Here are the error messages:
> > 
> > --------------------Configuration: libcvs - Win32 Debug--------------------
> > Compiling...
> > readlink.c
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(36) : error C2146: syntax error 
> > : missing ')' before identifier 'bufsize'
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(36) : error C2081: 'size_t' : 
> > name in formal parameter list illegal
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(36) : error C2061: syntax error 
> > : identifier 'bufsize'
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(36) : error C2059: syntax error 
> > : ';'
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(36) : error C2059: syntax error 
> > : ')'
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(37) : error C2449: found '{' at 
> > file scope (missing function header?)
> > h:\conrad\projects\cvs-1.12\lib\readlink.c(46) : error C2059: syntax error 
> > : '}'
> > Error executing cl.exe.
> > 
> > cvs.exe - 7 error(s), 0 warning(s)
> 
> Conrad
> 
> 
> 
> _______________________________________________
> Bug-cvs mailing list
> Bug-cvs@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-cvs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBiyvC3x41pRYZE/gRAl0HAJ9WisrzH7Ue3riEyyCKJR7d+maPHACdFDVY
dUAvgYr4Tv1hTBsnu4Ils9A=
=cLII
-----END PGP SIGNATURE-----




reply via email to

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