This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Bug Report #3


Sorry,

I use egcs 1.1 on Windows NT 4.0. I don't know in more detail what it is;
there is a folder called "lib/gcc-lib/i386-mingw32/egcs-2.91.57" in there
and the readme.txt file says "Release date: Sep 5, 1998".

I passed no options to egcs. The command line is:

c++ main.cpp

There is no preprocessor stuff involved so I guess I shouldn't pass a
preprocessed output.

If I can be of any help please let me know.

Andrei

-----Original Message-----
From: Gerald Pfeifer
To: Alexandrescu, Andrei
Cc: 'egcs-bugs@cygnus.com'; 'khan@xraylith.wisc.edu'
Sent: 11/8/98 4:10 AM
Subject: Re: Bug Report #3

On Sun, 8 Nov 1998, Alexandrescu, Andrei wrote:
> The following erratic code crashes egcs:

You did not submit a full bug report (notably, the way egcs ``crashes'',
the version of egcs and your platform were missing). Please check out
http://egcs.cygnus.com/faq.html#bugreport for further details.

In any case, current CVS snapshots and EGCS 1.1 report the following
instead on sparc-sun-solaris2.6:

  x.cc:4: wrong number of template arguments (1, should be 2)
  x.cc:2: provided for `template <class Interface, bool Exists>
          inherit_if<Interface,Exists>'
  x.cc:4: confused by earlier errors, bailing out

> /////////////////////////////////////////////////////
> template <typename Interface, bool Exists>
> class inherit_if {};
> template <typename Interface>
> 	class inherit_if<true> : public Interface {};

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]