public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11685] New: typeinfo is not demangled in error messages
@ 2003-07-27 17:10 pinskia at physics dot uc dot edu
  2003-07-28  3:45 ` [Bug c++/11685] " pinskia at physics dot uc dot edu
  2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de
  0 siblings, 2 replies; 13+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 17:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: typeinfo is not demangled in error messages
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at physics dot uc dot edu
                CC: gcc-bugs at gcc dot gnu dot org,gdr at gcc dot gnu dot
                    org

Code:
#include <typeinfo>
int get_uuidof( const std::type_info& inf );

template< class T ,int i = get_uuidof( typeid(T) ) >
struct TBoaz{
} ;

template TBoaz<int>;

Gives the following error: 

prnew10.cc:8: error: non-constant `get_uuidof(const std::type_info&)((&_ZTIi))' 
   cannot be used as template argument

Notice _ZTIi is not demangled to typeid(int).


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <20030727171012.11685.pinskia@gcc.gnu.org>]
[parent not found: <bug-11685-6528@http.gcc.gnu.org/bugzilla/>]
[parent not found: <bug-11685-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-10-13 11:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 17:10 [Bug c++/11685] New: typeinfo is not demangled in error messages pinskia at physics dot uc dot edu
2003-07-28  3:45 ` [Bug c++/11685] " pinskia at physics dot uc dot edu
2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de
     [not found] <20030727171012.11685.pinskia@gcc.gnu.org>
2003-08-23  1:00 ` dhazeghi at yahoo dot com
2003-08-29 12:48 ` gdr at gcc dot gnu dot org
2003-08-29 12:50 ` pinskia at physics dot uc dot edu
2003-08-29 12:57 ` gdr at gcc dot gnu dot org
2003-08-29 14:51 ` bangerth at dealii dot org
2003-08-29 19:36 ` gdr at integrable-solutions dot net
     [not found] <bug-11685-6528@http.gcc.gnu.org/bugzilla/>
2005-12-11 23:24 ` pinskia at gcc dot gnu dot org
     [not found] <bug-11685-4@http.gcc.gnu.org/bugzilla/>
2013-10-14 16:34 ` paolo.carlini at oracle dot com
2014-10-13 10:34 ` flast at flast dot jp
2014-10-13 11:59 ` manu at gcc dot gnu.org

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