From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: smeets@busoni.iae.nl Cc: egcs-bugs@cygnus.com Subject: Re: casting problem Date: Sat, 15 Aug 1998 13:43:00 -0000 Message-id: References: <98081423292302.10460@busoni.iaehv.nl> X-SW-Source: 1998-08/msg00277.html List-Id: Mark Smeets writes: > bug.cc:12: Internal compiler error. > class Dummy { public: Dummy() {;} ~Dummy() {;} }; > main() { Dummy x; int y = static_cast(x); } The latest snapshot of egcs says: test.cc: In function `int main()': test.cc:12: static_cast from `Dummy' to `int' -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil