On Tue, Apr 30, 2019 at 08:58:08AM +0100, Jonathan Wakely wrote:
On 29/04/19 18:16 +0200, Georg Sauthoff wrote:
> On Mon, Apr 29, 2019 at 05:11:53PM +0200, Dan Čermák wrote:
> > John Reiser <jreiser(a)bitwagon.com> writes:
> [..]
> > > What is the nature of the incompatibilities, and what are specific
> > > examples?
> >
> > We switched to from the POSIX regex library to <regex> as it should be
> > provided by a C++11 compatible compiler. Unfortunately gcc 4.8.5 does
> > not properly implement <regex> and it made a lot of tests fail. We have
> > therefore switched to using the SCL gcc & clang compiler for now.
>
> Yes, at least GCC 4.8/4.9 (with the then current libstdc++)
> featured a severely broken <regex> (e.g. also on Fedora 19).
GCC 4.8 does, but the std::regex in 4.9 is OK.
https://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-...
There were also some std::regex issues in 4.9, e.g.:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64302
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64303
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63497
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61582 (still open)
Best regards
Georg
--
"No one can write decently who is distrustful of the reader's
intelligence, or whose attitude is patronizing." (William Strunk,
Jr. and E.B. White, The Elements of Style, p. 70, 1959)