public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* a piece of code under egcs
@ 1999-03-15 10:34 Josip Rodin
  1999-03-16 16:14 ` Alexandre Oliva
  1999-03-31 23:46 ` Josip Rodin
  0 siblings, 2 replies; 8+ messages in thread
From: Josip Rodin @ 1999-03-15 10:34 UTC (permalink / raw)
  To: egcs

Hi,

I apologize if this is not the right place to ask this question;
please point me to the right source of information if that is the
case.

I have here a program that (author says so) compiles under gcc 2.8.
Under my EGCS g++ 2.91.60 it doesn't work:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE    -g -O2 -Wall -fno-implicit-templates -c Collection.cc
Collection.h: In function `class SCollection<T> * create(class File &)':
In file included from Collection.cc:22:
Collection.h:180: use of class template `template <class T> SCollection<T>' as expression
make[2]: *** [Collection.o] Error 1

Here is that part of the code from Collection.h:

template <class T> static SCollection<T>* create(class File& f)
{
 SCollection* sc = new SCollection<T>();
 if(!sc->read(f)) { delete sc; return 0; }
 return sc;
}

Please CC: me in your answers, I'm not subscribed to this list.
Thanks for any help.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/

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

* Re: a piece of code under egcs
  1999-03-15 10:34 a piece of code under egcs Josip Rodin
@ 1999-03-16 16:14 ` Alexandre Oliva
       [not found]   ` < oryakxyo3h.fsf@dcc.unicamp.br >
  1999-03-31 23:46   ` Alexandre Oliva
  1999-03-31 23:46 ` Josip Rodin
  1 sibling, 2 replies; 8+ messages in thread
From: Alexandre Oliva @ 1999-03-16 16:14 UTC (permalink / raw)
  To: Josip Rodin; +Cc: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

On Mar 15, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:

> Here is that part of the code from Collection.h:

That's not enough for us to reproduce the problem.  Please read
http://egcs.cygnus.com/faq.html#bugreport

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists

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

* Re: a piece of code under egcs
       [not found]   ` < oryakxyo3h.fsf@dcc.unicamp.br >
@ 1999-03-18 14:18     ` Josip Rodin
  1999-03-18 14:19       ` Alexandre Oliva
  1999-03-31 23:46       ` Josip Rodin
  0 siblings, 2 replies; 8+ messages in thread
From: Josip Rodin @ 1999-03-18 14:18 UTC (permalink / raw)
  To: Alexandre Oliva

On Tue, Mar 16, 1999 at 09:08:34PM -0300, Alexandre Oliva wrote:
> On Mar 15, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:
> 
> > Here is that part of the code from Collection.h:
> 
> That's not enough for us to reproduce the problem.  Please read
> http://egcs.cygnus.com/faq.html#bugreport

Thanks, but I managed the problem other ways.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/


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

* Re: a piece of code under egcs
  1999-03-18 14:18     ` Josip Rodin
@ 1999-03-18 14:19       ` Alexandre Oliva
  1999-03-31 23:46         ` Alexandre Oliva
  1999-03-31 23:46       ` Josip Rodin
  1 sibling, 1 reply; 8+ messages in thread
From: Alexandre Oliva @ 1999-03-18 14:19 UTC (permalink / raw)
  To: Josip Rodin; +Cc: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

On Mar 18, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:

> Thanks, but I managed the problem other ways.

We'd still be interested in a bug report that would allow us to track
down the problem you describe, so as to prevent other users from
having to work around it like you did.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists

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

* Re: a piece of code under egcs
  1999-03-18 14:19       ` Alexandre Oliva
@ 1999-03-31 23:46         ` Alexandre Oliva
  0 siblings, 0 replies; 8+ messages in thread
From: Alexandre Oliva @ 1999-03-31 23:46 UTC (permalink / raw)
  To: Josip Rodin; +Cc: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

On Mar 18, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:

> Thanks, but I managed the problem other ways.

We'd still be interested in a bug report that would allow us to track
down the problem you describe, so as to prevent other users from
having to work around it like you did.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists


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

* Re: a piece of code under egcs
  1999-03-16 16:14 ` Alexandre Oliva
       [not found]   ` < oryakxyo3h.fsf@dcc.unicamp.br >
@ 1999-03-31 23:46   ` Alexandre Oliva
  1 sibling, 0 replies; 8+ messages in thread
From: Alexandre Oliva @ 1999-03-31 23:46 UTC (permalink / raw)
  To: Josip Rodin; +Cc: egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

On Mar 15, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:

> Here is that part of the code from Collection.h:

That's not enough for us to reproduce the problem.  Please read
http://egcs.cygnus.com/faq.html#bugreport

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists


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

* Re: a piece of code under egcs
  1999-03-18 14:18     ` Josip Rodin
  1999-03-18 14:19       ` Alexandre Oliva
@ 1999-03-31 23:46       ` Josip Rodin
  1 sibling, 0 replies; 8+ messages in thread
From: Josip Rodin @ 1999-03-31 23:46 UTC (permalink / raw)
  To: Alexandre Oliva

On Tue, Mar 16, 1999 at 09:08:34PM -0300, Alexandre Oliva wrote:
> On Mar 15, 1999, Josip Rodin <joy@cibalia.gkvk.hr> wrote:
> 
> > Here is that part of the code from Collection.h:
> 
> That's not enough for us to reproduce the problem.  Please read
> http://egcs.cygnus.com/faq.html#bugreport

Thanks, but I managed the problem other ways.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/



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

* a piece of code under egcs
  1999-03-15 10:34 a piece of code under egcs Josip Rodin
  1999-03-16 16:14 ` Alexandre Oliva
@ 1999-03-31 23:46 ` Josip Rodin
  1 sibling, 0 replies; 8+ messages in thread
From: Josip Rodin @ 1999-03-31 23:46 UTC (permalink / raw)
  To: egcs

Hi,

I apologize if this is not the right place to ask this question;
please point me to the right source of information if that is the
case.

I have here a program that (author says so) compiles under gcc 2.8.
Under my EGCS g++ 2.91.60 it doesn't work:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE    -g -O2 -Wall -fno-implicit-templates -c Collection.cc
Collection.h: In function `class SCollection<T> * create(class File &)':
In file included from Collection.cc:22:
Collection.h:180: use of class template `template <class T> SCollection<T>' as expression
make[2]: *** [Collection.o] Error 1

Here is that part of the code from Collection.h:

template <class T> static SCollection<T>* create(class File& f)
{
 SCollection* sc = new SCollection<T>();
 if(!sc->read(f)) { delete sc; return 0; }
 return sc;
}

Please CC: me in your answers, I'm not subscribed to this list.
Thanks for any help.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/

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

end of thread, other threads:[~1999-03-31 23:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-15 10:34 a piece of code under egcs Josip Rodin
1999-03-16 16:14 ` Alexandre Oliva
     [not found]   ` < oryakxyo3h.fsf@dcc.unicamp.br >
1999-03-18 14:18     ` Josip Rodin
1999-03-18 14:19       ` Alexandre Oliva
1999-03-31 23:46         ` Alexandre Oliva
1999-03-31 23:46       ` Josip Rodin
1999-03-31 23:46   ` Alexandre Oliva
1999-03-31 23:46 ` Josip Rodin

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