public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Multible Exceptions
@ 1999-04-28  3:58 Frank Endriss
  1999-04-28 15:30 ` Martin v. Loewis
  1999-04-30 23:15 ` Frank Endriss
  0 siblings, 2 replies; 4+ messages in thread
From: Frank Endriss @ 1999-04-28  3:58 UTC (permalink / raw)
  To: egcs

hello,

may be there is a Bug in the current snapshot, I would like
know more about.

The following Code should IMHO compile, and does using
egcs 1.1.1 or 1.1.2, but not using the 0405 till 0418
snapshots.

Since I do know more about Java than about C++, I am 
not sure if this is ISO C++.

-------cut t.h

class X {
public:
	class e1 { };
	class e2 { };
	int meth(int i) throw(e1, e2);
};

-------cut

-------cut t.cpp

#include "t.h"

int X::meth(int i)
throw(e1, e2) {
	return i;
};


-------cut

Any hints ?



mfg
Frank Endriss

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

* Re: Multible Exceptions
  1999-04-28  3:58 Multible Exceptions Frank Endriss
@ 1999-04-28 15:30 ` Martin v. Loewis
  1999-04-30 23:15   ` Martin v. Loewis
  1999-04-30 23:15 ` Frank Endriss
  1 sibling, 1 reply; 4+ messages in thread
From: Martin v. Loewis @ 1999-04-28 15:30 UTC (permalink / raw)
  To: Frank.Endriss; +Cc: egcs

> The following Code should IMHO compile, and does using
> egcs 1.1.1 or 1.1.2, but not using the 0405 till 0418
> snapshots.

I agree, and it does compile with egcs-2.93.19 19990425. So it appears
that the bug has been fixed.

Regards,
Martin

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

* Re: Multible Exceptions
  1999-04-28 15:30 ` Martin v. Loewis
@ 1999-04-30 23:15   ` Martin v. Loewis
  0 siblings, 0 replies; 4+ messages in thread
From: Martin v. Loewis @ 1999-04-30 23:15 UTC (permalink / raw)
  To: Frank.Endriss; +Cc: egcs

> The following Code should IMHO compile, and does using
> egcs 1.1.1 or 1.1.2, but not using the 0405 till 0418
> snapshots.

I agree, and it does compile with egcs-2.93.19 19990425. So it appears
that the bug has been fixed.

Regards,
Martin

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

* Multible Exceptions
  1999-04-28  3:58 Multible Exceptions Frank Endriss
  1999-04-28 15:30 ` Martin v. Loewis
@ 1999-04-30 23:15 ` Frank Endriss
  1 sibling, 0 replies; 4+ messages in thread
From: Frank Endriss @ 1999-04-30 23:15 UTC (permalink / raw)
  To: egcs

hello,

may be there is a Bug in the current snapshot, I would like
know more about.

The following Code should IMHO compile, and does using
egcs 1.1.1 or 1.1.2, but not using the 0405 till 0418
snapshots.

Since I do know more about Java than about C++, I am 
not sure if this is ISO C++.

-------cut t.h

class X {
public:
	class e1 { };
	class e2 { };
	int meth(int i) throw(e1, e2);
};

-------cut

-------cut t.cpp

#include "t.h"

int X::meth(int i)
throw(e1, e2) {
	return i;
};


-------cut

Any hints ?



mfg
Frank Endriss

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

end of thread, other threads:[~1999-04-30 23:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-28  3:58 Multible Exceptions Frank Endriss
1999-04-28 15:30 ` Martin v. Loewis
1999-04-30 23:15   ` Martin v. Loewis
1999-04-30 23:15 ` Frank Endriss

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