error in regex.h

2018-12-03 Thread Himanshu Sekhar Nayak
okay I have created an ticket here https://devel.rtems.org/ticket/3631#ticket ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

error in regex.h

2018-12-03 Thread Himanshu Sekhar Nayak
okay I will implement it. Thanks Joel for help Thanks Himanshu ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: error in regex.h

2018-12-03 Thread Joel Sherrill
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 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 Sek

error in regex.h

2018-12-03 Thread Himanshu Sekhar Nayak
Hi Joel, Seems like I fixed it. I searched over internet and found a possible fix by adding "#include " 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

Re: error in regex.h

2018-12-03 Thread Joel Sherrill
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/fyqYx7V

error in regex.h

2018-12-03 Thread Himanshu Sekhar Nayak
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 ". Thanks Himanshu __