error in regex.h

Joel Sherrill joel at rtems.org
Mon Dec 3 15:49:30 UTC 2018


OK. But don't edit the installed regex.h Just add an include to your test.
The .h file needs to be fixed if it is broken. That's a separtae issue.

I still think <sys/types.h> is the least you need to include though. I
emailed you privately a small test case.

--joel

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

> Hi Joel,
>
> Seems like I fixed it. I searched over internet and found a possible fix
> by adding "#include <unistd.h>" to regex.h file and compiled it and it
> doesn't show any error now. But I saw many comments on not using it because
> off_t is not very standard and replacing off_t with a new typedef that is
> based on int64_t.
>
> Thanks
> Himanshu
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181203/59298205/attachment-0002.html>


More information about the devel mailing list