mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-02-16 07:04:49 +00:00
wregex support missing? #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @martinrotter on GitHub (Feb 4, 2020).
Originally assigned to: @dmik on GitHub.
I get errors: "wregex is not a member of std", "regexp not declared", etc.
I compile with latest gcc 9.2.xx from experimental repository. I have C++17 standard enabled by appropriate switch.
Specifically compilling https://github.com/martinrotter/textosaurus with these steps:
@dmik commented on GitHub (Feb 5, 2020):
Thanks for the report! You should have
std::regexin our builds. I've just checked an example from https://en.cppreference.com/w/cpp/regex/regex_match and it gives exactly the same output under OS/2.As of
wregex, it's perhaps disabled at GCC configure time because of #16. Once #16 is resolved, we will get this bit too, I suppose. You have to wait for now or use the non-wide char version.@dmik commented on GitHub (Mar 19, 2020):
With the latest fixes to #16 and a full GCC rebuild, this works too, out of the box — I've modified the test case from
https://en.cppreference.com/w/cpp/regex/regex_matchto usewregexinstead ofregexand it works too. A new set of GCC RPMs will appear shortly.