public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10550: undefined reference to out_of_range::out_of_range
@ 2003-04-29 22:16 Wolfgang Bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2003-04-29 22:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10550; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Hovik Manvelyan <hovik.manvelyan@viragelogic.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/10550: undefined reference to out_of_range::out_of_range
Date: Tue, 29 Apr 2003 17:13:37 -0500 (CDT)

 > We are planning to switch to newer version of gcc, but it requires some time.
 > I need to resolve this problem now.
 > I would like to know why this error is happening and is there workaround for it.
 
 I have no idea. Maybe someone just forgot to write this constructor, maybe 
 it's a compiler bug. The 2.95 branch has been abandoned more than 2 years 
 ago, I don't think anybody will be willing to invest work in it any more.
 
 Sorry
   W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                                www: http://www.ices.utexas.edu/~bangerth/
 
 


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

* Re: c++/10550: undefined reference to out_of_range::out_of_range
@ 2003-04-29 19:09 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-04-29 19:09 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hovik, nobody

Synopsis: undefined reference to out_of_range::out_of_range

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 19:09:35 2003
State-Changed-Why:
    I think I recall seeing such a problem a long time ago as
    well. However, 2.95 is a version that has not been supported
    any more for quite some time now -- can you check whether
    this still is a problem for a more modern version of gcc?
    
    Thanks
      Wolfgang

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10550


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

* c++/10550: undefined reference to out_of_range::out_of_range
@ 2003-04-29 19:06 hovik
  0 siblings, 0 replies; 3+ messages in thread
From: hovik @ 2003-04-29 19:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10550
>Category:       c++
>Synopsis:       undefined reference to out_of_range::out_of_range
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 19:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hovik Manvelyan
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
OS -> SunOS 5.7 sparc
>Description:
When I compile this sample program with debug information enabled, I get undefined reference linker error. Everything is fine when I compile without -g flag. Here is the source code and commands I used:

#include <stdexcept>
int main()
{
    out_of_range tmp_oor("test");
    return 0;
}

%> g++ -c -g -Wall main.cc
%> g++ -o test_vmb main.o

main.o: In function `__malloc_alloc_template<0>::deallocate(void *, unsigned int)':
/usr/local/buildpkgs/rev4/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3/stl_alloc.h:164: undefined reference to `out_of_range::out_of_range(basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &)'
collect2: ld returned 1 exit status
>How-To-Repeat:

>Fix:

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


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

end of thread, other threads:[~2003-04-29 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 22:16 c++/10550: undefined reference to out_of_range::out_of_range Wolfgang Bangerth
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 19:09 bangerth
2003-04-29 19:06 hovik

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