public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5553: std::codecvt link error
@ 2002-01-31  3:46 ani
  0 siblings, 0 replies; only message in thread
From: ani @ 2002-01-31  3:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5553
>Category:       c++
>Synopsis:       std::codecvt link error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 31 03:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ani Ravi
>Release:        3.0.3
>Organization:
>Environment:
redhat 7.0 - i686
>Description:
When using ifstream or ofstream, I get a link error:

/tmp/ccA8eVjK.o: In function `std::codecvt<char, char, __mbstate_t> const& std::use_facet<std::codecvt<char, char, __mbstate_t> >(std::locale const&)':
/tmp/ccA8eVjK.o(.gnu.linkonce.t._ZSt9use_facetISt7codecvtIcc11__mbstate_tEERKT_RKSt6locale+0x7): undefined reference to `std::codecvt<char, char, __mbstate_t>::id'
collect2: ld returned 1 exit status
>How-To-Repeat:
#include <fstream>
int main()
{ std::ofstream ofs; }
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-31 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-31  3:46 c++/5553: std::codecvt link error ani

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