Re: [PATCH] COBOL 5/15 380K hdr: header files

2025-02-17 Thread Sam James
"James K. Lowden" writes: > On Sat, 15 Feb 2025 21:30:16 + > Sam James wrote: > >> > + * This stand-in for std::regex was written because the >> > implementation provided >> > + * by the GCC libstdc++ in GCC 11 proved too slow, where "slow" >> > means "appears >> > + * not to terminate". So

Re: [PATCH] COBOL 5/15 380K hdr: header files

2025-02-17 Thread James K. Lowden
On Sat, 15 Feb 2025 21:30:16 + Sam James wrote: > > +cbl_refer_t * > > +negate( cbl_refer_t * refer, bool neg = true ) { > > + if( ! neg ) return refer; > > + assert( is_numeric(refer->field) ); > > These should be gcc_assert or gcc_checking_assert in general, > depending on the severity (

Re: [PATCH] COBOL 5/15 380K hdr: header files

2025-02-17 Thread James K. Lowden
On Sat, 15 Feb 2025 21:30:16 + Sam James wrote: > > + * This stand-in for std::regex was written because the > > implementation provided > > + * by the GCC libstdc++ in GCC 11 proved too slow, where "slow" > > means "appears > > + * not to terminate". Some invocations of std::regex_search to