On Mon, Dec 3, 2018 at 9:10 AM Himanshu Sekhar Nayak < himanshuwindows...@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 <sys/types.h> 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 file(s) 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. :) --joel > > Thanks > Himanshu > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel