public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42989]  New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14
@ 2010-02-06 21:05 plaice at cse dot unsw dot edu dot au
  2010-02-06 21:07 ` [Bug c++/42989] " plaice at cse dot unsw dot edu dot au
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: plaice at cse dot unsw dot edu dot au @ 2010-02-06 21:05 UTC (permalink / raw)
  To: gcc-bugs

When running "g++ -std=c++0x" on the following two lines,

  std::wstring s;
  s = std::wstring(L"hello world");

the loader complains that there is an
undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::operator=(std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >&&)'

However, if the file x86_64-unknown-linux-gnu/libstdc++-v3/src/wstring-inst.o
in the gcc 4.5.0 build directory is added to the loader line, then there is
no problem.


-- 
           Summary: operator= for rvalue reference for wstring disappears in
                    libstdc++.so.6.0.14
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: plaice at cse dot unsw dot edu dot au
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c++/42989] operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14
  2010-02-06 21:05 [Bug c++/42989] New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14 plaice at cse dot unsw dot edu dot au
@ 2010-02-06 21:07 ` plaice at cse dot unsw dot edu dot au
  2010-02-06 21:22 ` [Bug libstdc++/42989] " paolo dot carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: plaice at cse dot unsw dot edu dot au @ 2010-02-06 21:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from plaice at cse dot unsw dot edu dot au  2010-02-06 21:07 -------
Created an attachment (id=19816)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19816&action=view)
Loader complains of missing reference.


-- 


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


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

* [Bug libstdc++/42989] operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14
  2010-02-06 21:05 [Bug c++/42989] New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14 plaice at cse dot unsw dot edu dot au
  2010-02-06 21:07 ` [Bug c++/42989] " plaice at cse dot unsw dot edu dot au
@ 2010-02-06 21:22 ` paolo dot carlini at oracle dot com
  2010-02-06 21:31 ` paolo at gcc dot gnu dot org
  2010-02-06 21:32 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-02-06 21:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2010-02-06 21:21 -------
Oops, there is a typo in the linker script, fixing momentarily.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
                   |dot org                     |dot com
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c++                         |libstdc++
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-06 21:21:59
               date|                            |
   Target Milestone|---                         |4.5.0


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


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

* [Bug libstdc++/42989] operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14
  2010-02-06 21:05 [Bug c++/42989] New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14 plaice at cse dot unsw dot edu dot au
  2010-02-06 21:07 ` [Bug c++/42989] " plaice at cse dot unsw dot edu dot au
  2010-02-06 21:22 ` [Bug libstdc++/42989] " paolo dot carlini at oracle dot com
@ 2010-02-06 21:31 ` paolo at gcc dot gnu dot org
  2010-02-06 21:32 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2010-02-06 21:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo at gcc dot gnu dot org  2010-02-06 21:31 -------
Subject: Bug 42989

Author: paolo
Date: Sat Feb  6 21:30:52 2010
New Revision: 156556

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156556
Log:
2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

        PR libstdc++/42989
        * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver


-- 


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


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

* [Bug libstdc++/42989] operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14
  2010-02-06 21:05 [Bug c++/42989] New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14 plaice at cse dot unsw dot edu dot au
                   ` (2 preceding siblings ...)
  2010-02-06 21:31 ` paolo at gcc dot gnu dot org
@ 2010-02-06 21:32 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-02-06 21:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo dot carlini at oracle dot com  2010-02-06 21:32 -------
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-02-06 21:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06 21:05 [Bug c++/42989] New: operator= for rvalue reference for wstring disappears in libstdc++.so.6.0.14 plaice at cse dot unsw dot edu dot au
2010-02-06 21:07 ` [Bug c++/42989] " plaice at cse dot unsw dot edu dot au
2010-02-06 21:22 ` [Bug libstdc++/42989] " paolo dot carlini at oracle dot com
2010-02-06 21:31 ` paolo at gcc dot gnu dot org
2010-02-06 21:32 ` paolo dot carlini at oracle dot com

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).