<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 3, 2018 at 9:10 AM Himanshu Sekhar Nayak <<a href="mailto:himanshuwindows8.1@gmail.com">himanshuwindows8.1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi guys,</div><div><br></div><div>I am just creating regcomp.c and I faced an error while compiling it.</div><div>Here is the error <a href="https://paste.ofcode.org/jkN6L56yprGKEsyfbggf65" target="_blank">https://paste.ofcode.org/jkN6L56yprGKEsyfbggf65</a></div><div>regcomp.c file --> <a href="https://paste.ofcode.org/fyqYx7VuzRLtXvcUZpFgxj" target="_blank">https://paste.ofcode.org/fyqYx7VuzRLtXvcUZpFgxj</a></div><div><br></div><div>Any idea ? btw error seems to be in "off_t ".</div></div></div></div></div></div></blockquote><div><br></div><div>Looks like an error in the header file per POSIX. Add an include of <sys/types.h></div><div>before the include of regex.h in your test and file a ticket about this. Note the error</div><div>and that newlib needs to be fixed. And when newlib is fixed, that your test file(s)</div><div>need the unneeded include removed.</div><div><br></div><div>Also add a comment on the #include <sys/types.h> line with a comment like</div><div>"/* NOT NEEDED PER POSIX -- SEE TICKET NNNN */</div><div><br></div><div>This should let you proceed and makes the issue trackable.</div><div><br></div><div>And, good job! This is the type of error that is found by these tests. :)</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Thanks</div><div>Himanshu<br></div><div><br></div></div></div></div></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>