public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/32254]  New: std::runtime_error thrown by locale("")
@ 2007-06-08  7:18 thanate at asu dot edu
  2007-06-08  8:39 ` [Bug libstdc++/32254] " pcarlini at suse dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: thanate at asu dot edu @ 2007-06-08  7:18 UTC (permalink / raw)
  To: gcc-bugs

The following code compiles and run find using my system's
g++-4.1.3 but when compiled with g++-4.2.1 from SVN,
I get

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted

//-----------------
#include <clocale>
#include <sstream>

int main ()
{
  std::wostringstream os;
  os.imbue(std::locale(""));
  return 0;
}
//-----------------


-- 
           Summary: std::runtime_error thrown by locale("")
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thanate at asu dot edu
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2008-09-29 14:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08  7:18 [Bug libstdc++/32254] New: std::runtime_error thrown by locale("") thanate at asu dot edu
2007-06-08  8:39 ` [Bug libstdc++/32254] " pcarlini at suse dot de
2007-06-08 23:40 ` thanate at asu dot edu
2007-06-09  0:11 ` pcarlini at suse dot de
2007-06-09  0:22 ` thanate at asu dot edu
2007-06-09  0:27 ` pcarlini at suse dot de
2008-09-29 12:50 ` paolo dot carlini at oracle dot com
2008-09-29 13:39 ` paolo dot carlini at oracle dot com
2008-09-29 14:19 ` 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).