Opened 16 years ago
Last modified 15 years ago
#812 closed Support Requests (worksforme)
Crash on RH machine with gcc < 3.4 — at Initial Version
Reported by: | nobody | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Component: | regex | |
Version: | None | Severity: | Problem |
Keywords: | Cc: |
Description
The following code crshes with Seg.Fault while running on RH machine (kernel 7.1, compiler gcc-3.3.2) #include <boost/regex.hpp> #include <string> #include <stdlib.h> int main() { boost::regex expression("abc"); boost::match_results<std::string::const_iterator> what; boost::match_flag_type flags = boost::match_default; std::string str("abcabc"); if (regex_search( str, what, expression, flags) == true) { printf ("FOUND\n"); } return 0; } Is it a known issue? Thanks, Genia
Note:
See TracTickets
for help on using tickets.