[Pkg-gnupg-maint] Bug#710651: gnupg: FTBFS: ../../util/regcomp.c:528:20: error: unknown type name 'preg'

Andrey Rahmatullin wrar at wrar.name
Sat Jun 1 16:38:06 UTC 2013


On Fri, May 31, 2013 at 08:37:24PM +0200, David Suárez wrote:
> > i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I.. -I../../include -I../../intl    -g -Os -fno-omit-frame-pointer -Wall -Wno-pointer-sign -MT regex.o -MD -MP -MF .deps/regex.Tpo -c -o regex.o ../../util/regex.c
> > In file included from ../../util/regex.c:50:0:
> > ../../util/regcomp.c:528:20: error: unknown type name 'preg'
> > ../../util/regcomp.c:528:26: error: unknown type name 'errbuf'
> > ../../util/regcomp.c:528:34: error: unknown type name 'errbuf_size'
> > ../../util/regcomp.c:533:1: error: expected identifier or '(' before '{' token
The code:

size_t
regerror (errcode, preg, errbuf, errbuf_size)
    int errcode;
    const regex_t *preg;
    char *errbuf;
    size_t errbuf_size;
{


So it looks like the i686-w64-mingw32-gcc used doesn't support K&R function
definitions?

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20130601/a871d67c/attachment.pgp>


More information about the Pkg-gnupg-maint mailing list