[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    c++/5553: std::codecvt link error
From:       ani () qxfr ! com
Date:       2002-01-31 11:39:53
[Download RAW message or body]


> 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:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic