egcs 970828 : Explicit call of a constructor

Christophe Réquillart C.Requillart@bull-ingenierie.fr
Wed Sep 3 01:42:00 GMT 1997


For reasons which are too long to explain here, I need to reconstruct
the virtual table of objects. 

To do it, with gcc 2.7.2, I am doing an axplicit call to a specific
constructor. So I write the following code :

BX_Connection::CM_RebuildOBJ(CM_Restart *rsq)
{
   BX_Connection *obj = this;
   obj->BX_Connection::BX_Connection(rsq);
}

This is not beautifull, but it works wonderfull !

But ... When I compile this code with egcs, I've got a parse error
before '('.

There is nothing about this in C++ draft. What is Cygnus position about
it ? Can we consider it as a egcs' bug ?
begin:          vcard
fn:             Réquillart, Christophe
n:              Réquillart;Christophe
org:            Bull Ingénierie
adr:            12, rue de Paris;;;Le Pecq;;78230;France
email;internet: C.Requillart@bull-ingenierie.fr
tel;work:       0130871285
tel;fax:        0130871267
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
end:            vcard



More information about the Gcc-bugs mailing list