bug-gnulib
[Top][All Lists]
Advanced

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

getline.c and ssize_t


From: Micah Cowan
Subject: getline.c and ssize_t
Date: Wed, 21 Nov 2007 14:59:12 -0800
User-agent: Thunderbird 1.5.0.14pre (X11/20071023)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

While attempting to compile sed from current CVS, I ran across the
following output from bootstrap.sh:

  + cc -DHAVE_CONFIG_H -I.. -I. -c getline.c
  getline.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘getline’

Line 26 is the ssize_t return-type of getline. Adding #include
<unistd.h> fixed it (I'm sure <sys/types.h> would too).

Unfortunately, after fixing that, I ran into

  cc: mbchar.c: No such file or directory

which I suspect to be just sed's bootstrap not being up-to-date with
current gnulib; I didn't have time to investigate further.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHRLhA7M8hyUobTrERCLuwAKCE9IODhMmtJVZsfP50JnHfw+BqbACcDVNZ
1dGf8Pk8CISNwM6YmrmgAlY=
=OWvG
-----END PGP SIGNATURE-----




reply via email to

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