Question about gcc 3.x
Pascal Francq
pfrancq@ulb.ac.be
Fri Nov 8 05:28:00 GMT 2002
Hi,
This code was compiling with any complain with gcc 2.95.x, but now with gcc 3.x, it gives a warning
file:7: warning: `typename RGA::RGASignalsReceiver<cInst, cChromo, cFit>::GenSig' is implicitly a typename
1 //-----------------------------------------------------------------------------
2 template<class cInst,class cChromo,class cFit,class cThreadData>
3 void RGA::RInst<cInst,cChromo,cFit,cThreadData>::emitGenSig(void)
4 {
5 unsigned int i;
6 RGASignalsReceiver<cInst,cChromo,cFit> **r;
7 RGASignalsReceiver<cInst,cChromo,cFit>::GenSig s(Gen,AgeBest,Chromosomes,BestChromosome);
8
9 for(i=Receivers.NbPtr+1,r=Receivers.Tab;--i;r++)
10 (*r)->receiveGenSig(&s);
11 }
//-----------------------------------------------------------------------------
Any idea?
--
Ir Pascal Francq
Researcher
Université Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
Fax +32-2-650 47 24
ICQ: 91206668
More information about the Gcc
mailing list