error in regex.h
joel at rtems.org
Mon Dec 3 15:19:29 UTC 2018
On Mon, Dec 3, 2018 at 9:10 AM Himanshu Sekhar Nayak <
himanshuwindows8.1 at gmail.com> wrote:
> Hi guys,
> I am just creating regcomp.c and I faced an error while compiling it.
> Here is the error https://paste.ofcode.org/jkN6L56yprGKEsyfbggf65
> regcomp.c file --> https://paste.ofcode.org/fyqYx7VuzRLtXvcUZpFgxj
> 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
"/* NOT NEEDED PER POSIX -- SEE TICKET NNNN */
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. :)
> devel mailing list
> devel at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel