This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60958] Initialization of arrays in tr1/regex ill-formed or with undefined behaviour


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60958

--- Comment #2 from Hubert Tong <hstong at ca dot ibm.com> ---
(In reply to Jonathan Wakely from comment #1)
> Yes, I have a patch for this somewhere, but why are you including
> <tr1/regex> anyway? It's completely useless and doesn't work.

I am trying to use a code base which used a TR1 regex implementation on another
platform. Your comment led me to find
http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.tr1,
which does indicate that tr1/regex does not work. Is the recommendation (short
of switching over to C++11) to use the Boost implementation? Is the TR1
implementation status of regex in libstdc++ likely to change in the future?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]