error in regex.h

Joel Sherrill joel at
Mon Dec 3 15:19:29 UTC 2018

On Mon, Dec 3, 2018 at 9:10 AM Himanshu Sekhar Nayak <
himanshuwindows8.1 at> wrote:

> Hi guys,
> I am just creating regcomp.c and I faced an error while compiling it.
> Here is the error
> regcomp.c file -->
> Any idea ? btw error seems to be in "off_t ".

Looks like an error in the header file per POSIX. Add an include of
before the include of regex.h in your test and file a ticket about this.
Note the error
and that newlib needs to be fixed. And when newlib is fixed, that your test
need the unneeded include removed.

Also add a comment on the #include <sys/types.h> line with a comment like

This should let you proceed and makes the issue trackable.

And, good job! This is the type of error that is found by these tests. :)


> Thanks
> Himanshu
> _______________________________________________
> devel mailing list
> devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list