public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: David Corbin <david@csol.com> To: egcs-bugs@egcs.cygnus.com Subject: Bug Date: Fri, 30 Apr 1999 23:15:00 -0000 [thread overview] Message-ID: <3709AAA1.285991D0@csol.com> (raw) EGCS version: (1.1.1 & 1.1.2) Command line: g++ bug1.cpp linux-unknown-i486 (from a Debian 2.1 installation) A .cpp file consisting of the following line has a problem. typedef std::list<int> intlist; This generates an internal compiler error 980711. It has nothing to do with the typedef. The problem easily goes away, but simply including the right header files, in this case, list.h -- David Corbin Corsol Corporation http://www.csol.com dcorbin@csol.com # 1 "bug1.cpp" typedef std::list<int> intlist; >From templier@stna.dgac.fr Fri Apr 30 23:15:00 1999 From: Christian Templier STNA 7SO p5747 K224 <templier@stna.dgac.fr> To: egcs-bugs@egcs.cygnus.com Cc: templier@email.stna.dgac.fr, martin@mira.isdn.cs.tu-berlin.de Subject: bad error message , it could be better Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-id: <199904210646.IAA11542@blueberry.stna.dgac.fr> X-SW-Source: 1999-04n/msg00564.html Content-length: 3640 hello , problem : --------- i have compile a file and had difficulties to decode the error message : racine_sS.cc: In method `RACINE_BOAImpl_TASK_INTERFACE::RACINE_BOAImpl_TASK_INTERFACE(RACINE_BOAImpl_TASK_INTERFACE &, MIB_Process::CLIENT * = 0, CORBA_REFERENCE_INTEGRITY::_IN_HEAP = CORBA_REFERENCE_INTEGRITY::inHeap)': racine_sS.cc:47: type `RACINE_BOAImpl_TASK_INTERFACE' is not a base type for type `CORBA_REFERENCE_INTEGRITY' /netma/bin/SunOS5.6/bin/gcc -v -I. -c racine_sS.cc >& listing RACINE_BOAImpl_TASK_INTERFACE is SERVER_INTERFACE(RACINE) reason of error : --------------- bad code -> SERVER_INTERFACE(RACINE)::SERVER_INTERFACE(RACINE)(SERVER_INTERFACE(RACINE) &P_REFERENCE , PROCESS_CALLBACK * father , OBJECT_BASE::IN_HEAP isHeap) : _marker(P_REFERENCE._marker) , LANGUAGE_INTERFACE(RACINE_BOAImpl)<INTERFACE(LANGUAGE) >((LANGUAGE_INTERFACE(RACINE_BOAImpl)<INTERFACE(LANGUAGE) >&)P_REFERENCE,P_REFERENCE,this,father,OBJECT_BASE::inStack) , MODULE_LANGUAGE::LANGUAGE_INTERFACE(LANGUAGE)((MODULE_LANGUAGE::LANGUAGE_INTERFACE(LANGUAGE)&)P_REFERENCE,father, (TACHE::BOOT)NULL,OBJECT_BASE::inStack,(void*)this) ... good code --><== i have add "&" SERVER_INTERFACE(RACINE)::SERVER_INTERFACE(RACINE)(SERVER_INTERFACE(RACINE) &P_REFERENCE , PROCESS_CALLBACK * father , CORBA_REFERENCE_INTEGRITY::IN_HEAP isHeap) : _marker(P_REFERENCE._marker) , LANGUAGE_INTERFACE(RACINE_BOAImpl)<SERVER_INTERFACE(RACINE) >((LANGUAGE_INTERFACE(RACINE_BOAImpl)<SERVER_INTERFACE(RACINE) >&)P_REFERENCE,&P_REFERENCE,this,father,CORBA_REFERENCE_INTEGRITY::inStack) , <== i have add "&" MODULE_LANGUAGE::LANGUAGE_INTERFACE(LANGUAGE)((MODULE_LANGUAGE::LANGUAGE_INTERFACE(LANGUAGE)&)P_REFERENCE,father, (TACHE::BOOT)NULL,OBJECT_BASE::inStack,(void*)this) ... constructor desciptor --> template <class INTERFACE(LANGUAGE)> class LANGUAGE_INTERFACE(RACINE_BOAImpl) : virtual public LANGUAGE_INTERFACE(RACINE) {public : ... LANGUAGE_INTERFACE(RACINE_BOAImpl)(INTERFACE(LANGUAGE) *interface , CORBA_REFERENCE_INTEGRITY::IN_HEAP isHeap=CORBA_REFERENCE_INTEGRITY::inHeap) ; LANGUAGE_INTERFACE(RACINE_BOAImpl)(LANGUAGE_INTERFACE(RACINE_BOAImpl)<INTERFACE(LANGUAGE) > & P_REFERENCE , INTERFACE(LANGUAGE) * interface , INTERFACE(LANGUAGE) * newWorkspace , PROCESS_CALLBACK * father=NULL , CORBA_REFERENCE_INTEGRITY::IN_HEAP isHeap=CORBA_REFERENCE_INTEGRITY::inHeap) ; LANGUAGE_INTERFACE(RACINE_BOAImpl)(LANGUAGE_INTERFACE(RACINE_BOAImpl)<INTERFACE(LANGUAGE) > & P_REFERENCE , PROCESS_CALLBACK * entry , PROCESS_CALLBACK * father ) ; ... } ; correction for egcs team : ----------- could you write a better error message : for example : no matching call for constructor... candidates are ... . REGARDS C.TEMPLIER ____________________________________________________________________________ | | | | | ___ ___ | TEMPLIER | | | /__ \ / __\ | christian | Service Technique de la Navigation Aerienne | | __\ \/ / |_____________|_____________________________________________| | / __ | _ | | | | \ \_\ \_// | Toulouse | web http://www.stna.dgac.fr/~templier | | \___/\___/ | France | E_mail : templier@stna.dgac.fr | | | | tel : 05.62.14.57.47 | ---------------------------------------------------------------------------- [ Oz web page http://www.ps.uni-sb.de/oz/ ] [ list administration oz-users-request@ps.uni-sb.de ]
next reply other threads:[~1999-04-30 23:15 UTC|newest] Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top 1999-04-30 23:15 David Corbin [this message] -- strict thread matches above, loose matches on Subject: below -- 2007-02-08 18:07 bug Cseke Tamas 2006-07-19 18:57 bug kfahoo 2006-01-06 12:01 Bug Cavit Cahit VURAL 2005-12-18 12:14 bug Igor Selitsky 2005-03-03 12:15 Bug Administrator 2005-02-20 15:28 Bug Fikret Skrgic 2005-02-20 15:50 ` Bug Eric Botcazou 2002-07-30 14:56 bug Scott Dorsey 2002-01-08 17:46 bug ditty 2001-12-28 10:14 bug Paolo Carlini 2001-12-28 9:54 bug fabiosmoker 2001-12-11 12:14 BUG Jason Beltrame 2001-10-22 20:55 Bug Bob Bomar 2001-09-19 15:56 bug Yves Dorfsman 2001-07-02 17:07 bug NOBUHIRO OKAMOTO 2001-07-02 17:58 ` bug Toshi Morita [not found] <000d01c01bcf$94785c30$e20f083d@wildcomm.net> 2000-09-11 20:51 ` Bug Alexandre Oliva 2000-08-17 23:31 bug Thomas Rudlof 2000-08-11 10:46 bug Joseph Meeks 2000-07-05 15:10 bug Jesus Ruiz 2000-07-05 15:20 ` bug Alexandre Oliva 2000-04-20 6:04 bug BRODIER Olivier 2000-03-31 15:26 BUG David [not found] <4.3.0.20000307111239.00aaea40@mail.questgate.net> 2000-03-07 12:05 ` bug Martin v. Loewis 2000-03-08 8:14 ` bug Michael Long 2000-03-09 16:33 ` bug Alexandre Oliva 2000-02-29 10:57 bug wieland Kroetz [not found] <3896F92C.87F1A9FF@godel.dis.eafit.edu.co> 2000-02-01 19:32 ` BUG Alexandre Oliva 1999-12-06 12:45 Bug George Christakis 1999-12-31 20:54 ` Bug Brian Ford 1999-11-30 23:39 bug martin.schindelin 1999-11-30 23:39 ` bug Martin v. Loewis 1999-11-30 23:39 bug Martin Richard 1999-11-09 21:32 ` bug Alexandre Oliva 1999-10-31 23:03 bug Mike Stump 1999-10-26 11:02 Bug Gustavo Niemeyer 1999-10-27 12:34 ` Bug Martin v. Loewis 1999-10-19 9:51 bug Helen Sun 1999-09-12 5:21 bug Stefan Wehner 1999-09-13 23:45 ` bug Martin v. Loewis 1999-09-10 19:53 Bug Samy 1999-09-10 23:48 ` Bug Mumit Khan 1999-07-31 23:33 bug John Cotton 1999-08-31 22:45 ` bug Jeffrey A Law 1999-07-31 23:33 bug Wael Hassan 1999-07-31 23:33 ` bug Brian Ford 1999-06-30 23:07 BUG root of all evil 1999-06-05 2:46 ` BUG Alexandre Oliva 1999-06-28 5:34 BUG Stelios Xanthakis 1999-06-29 1:34 ` BUG Alexandre Oliva 1999-06-18 11:51 bug Mohamed Zaakoun 1999-05-31 21:06 Bug Klaus Causemann 1999-05-22 1:41 ` Bug Philipp Thomas [not found] <99051319112100.00451@localhost.localdomain> 1999-05-31 21:06 ` Bug Martin v. Loewis 1999-04-30 23:15 BUG Chris Teli 1999-04-15 7:09 ` BUG Alexandre Oliva 1999-04-30 23:15 bug holger 1999-04-13 18:26 BUG Steven Chi 1999-04-30 23:15 ` BUG Alexandre Oliva 1999-04-04 8:53 Bug Mathias Creutz 1999-04-05 12:40 ` Bug Alexandre Oliva 1999-02-28 23:30 Bug Philip Rademakers 1999-02-28 23:30 ` Bug Nathan Sidwell 1999-02-04 6:49 Bug Dan Vasaru 1998-12-17 8:25 bug Jean-Benoit Pierrot 1998-11-23 6:46 bug Massimo Boninsegni 1998-11-23 13:26 ` bug Alexandre Oliva 1998-09-23 7:09 Bug Energoprom 1998-09-23 22:02 ` Bug Alexandre Oliva 1998-09-17 5:09 bug Thien Traitham 1998-09-17 10:49 ` bug Alexandre Oliva 1998-08-31 13:07 bug Brian Grossman 1998-09-01 20:17 ` bug Alexandre Oliva 1998-07-28 4:13 bug Henning Emmrich 1998-07-17 9:51 Bug J. de Antonio 1998-07-14 17:29 bug Fritz Koenig 1998-07-14 23:27 ` bug Martin von Loewis 1998-04-21 12:00 bug root 1998-03-23 23:23 bug Mats Hjelm 1998-02-09 23:36 bug Leeann Bent
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3709AAA1.285991D0@csol.com \ --to=david@csol.com \ --cc=egcs-bugs@egcs.cygnus.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).