bug#34054: Error in compilation of pcresearch if we have no pcre library

2019-01-20 Thread Jim Meyering
On Sun, Jan 20, 2019 at 10:03 AM Paul Eggert wrote: > Jim Meyering wrote: > > Technically, we could fix it by adding more ifdefs, but I think it > > would not be worthwhile to accommodate this use case. > > I looked into this and discovered that fixing this can actually simplify the > source code

bug#34054: Error in compilation of pcresearch if we have no pcre library

2019-01-20 Thread Paul Eggert
Jim Meyering wrote: Technically, we could fix it by adding more ifdefs, but I think it would not be worthwhile to accommodate this use case. I looked into this and discovered that fixing this can actually simplify the source code by removing the need for the "We can't get here" glitch in pcre

bug#34054: Error in compilation of pcresearch if we have no pcre library

2019-01-19 Thread Jim Meyering
On Sat, Jan 12, 2019 at 4:07 PM Norihiro Tanaka wrote: > I pulled current master of grep from git repository and built it on > fedora 29, and recieved following error. > > When we have no pcre library, DIE() in Pcompile and Pexecute is called, > but noreturn attribute is set to their functions. ..

bug#34054: Error in compilation of pcresearch if we have no pcre library

2019-01-12 Thread Norihiro Tanaka
Hi, I pulled current master of grep from git repository and built it on fedora 29, and recieved following error. When we have no pcre library, DIE() in Pcompile and Pexecute is called, but noreturn attribute is set to their functions. Thanks, Norihiro $ make .. depbase=`echo pcresearch.o |