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

Attachment: signature.asc
Description: Digital signature

Reply via email to