public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/43241]  New: std::tr1::regex does not link
@ 2010-03-03  0:17 pinskia at gcc dot gnu dot org
  2010-03-03  0:21 ` [Bug libstdc++/43241] std::tr1::regex is not fully implemented yet pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-03  0:17 UTC (permalink / raw)
  To: gcc-bugs

A simple testcase:
 #include <tr1/regex>
 int main() {std::tr1::regex r("^$"); }
--- CUT ---
Does not link.  It did with 4.3 though. 
/tmp/ccyEcV0U.o: In function `std::tr1::basic_regex<char,
std::tr1::regex_traits<char> >::basic_regex(char const*, unsigned int)':
t.cc:(.text._ZNSt3tr111basic_regexIcNS_12regex_traitsIcEEEC2EPKcj[_ZNSt3tr111basic_regexIcNS_12regex_traitsIcEEEC5EPKcj]+0x73):
undefined reference to `std::tr1::basic_regex<char,
std::tr1::regex_traits<char> >::_M_compile()'


-- CUT ---
I noticed that std::tr1::basic_regex::_M_compile in 4.3 was just an empty
function in 4.3 but an external function in 4.4 and above.


-- 
           Summary: std::tr1::regex does not link
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-09-14 15:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43241-4@http.gcc.gnu.org/bugzilla/>
2011-09-14 15:04 ` [Bug libstdc++/43241] std::tr1::regex is not fully implemented yet sacolcor at provide dot net
2011-09-14 15:14 ` paolo.carlini at oracle dot com
2011-09-14 15:27 ` redi at gcc dot gnu.org
2011-09-14 15:37 ` redi at gcc dot gnu.org
2011-09-14 16:03 ` sacolcor at provide dot net
2010-03-03  0:17 [Bug libstdc++/43241] New: std::tr1::regex does not link pinskia at gcc dot gnu dot org
2010-03-03  0:21 ` [Bug libstdc++/43241] std::tr1::regex is not fully implemented yet pinskia at gcc dot gnu dot org
2010-03-03  1:16 ` paolo dot carlini at oracle dot com
2010-03-03 19:31 ` bangerth at gmail dot com
2010-03-03 19:31 ` bangerth at gmail dot com
2010-03-03 20:11 ` paolo dot carlini at oracle dot com
2010-03-03 20:14 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).