The Samba-Bugzilla – Bug 2292
`regex_t' undeclared; include regex.h if HAVE_REGEX_H is defined
Last modified: 2005-02-07 07:36:51 UTC
client/client.c: In function `do_get':
client/client.c:738: warning: passing arg 4 of `cli_getattrE' from incompatible
`regex_t' is undeclared in client/clitar.c even if we have found regex.h and
HAVE_REGEX_H is defined.
This build problem only happens to our current development tree.
client/client.c: In function `do_put':
client/client.c:1115: warning: passing arg 4 of `cli_getattrE' from incompatible
client/clitar.c:91: error: syntax error before '*' token
client/clitar.c:91: warning: type defaults to `int' in declaration of `preg'
client/clitar.c:91: warning: data definition has no type or storage class
client/clitar.c: In function `do_tar':
client/clitar.c:801: warning: implicit declaration of function `regexec'
client/clitar.c: In function `tar_parseargs':
client/clitar.c:1754: error: `regex_t' undeclared (first use in this function)
Created attachment 928 [details]
Include regex.h if HAVE_REGEX_H is defined
This is a bug in /usr/include/gssapi/gssapi.h of krb5-devel.
It's invalid and not wintfix.
Close as invalid.
originally reported against 3.0.11pre1. Moving back to version to 3.0.10
to remove preX and rcX versions.