Re: [Plib-users] building on ubuntu linux 6.10, gcc 4.1.2
Brought to you by:
sjbaker
From: John G. <cy...@gm...> - 2006-11-11 17:19:27
|
Good catch, I must be tired so it didn't jump out at me. As for the remark about always prefixing member functions with their class name, that is precisely what MUST happen. So, you are right. However, in this case, I think the offender was implemented *inside* the class declaration, so the prefix was overkill. Has this been fixed in SVN/CVS ? Thanks, -John On 11/9/06, Jan Reucker <slo...@gm...> wrote: > > Am Thu, 9 Nov 2006 21:30:02 -0000 schrieb "Stuart McDonald" < > stu...@bl...>: > > > class name in the destructor i.e. it has > > > > ssgaCloudLayerList::~ssgaCloudLayerList() { ... > > > > when it could just have > > > > ~ssagaCloudLayerList() { ... > > Hello, > > I've seen problems like this with other programs as well, always > when using the gcc4 compiler where gcc3 always worked without > warnings. Is this feature (no class name needed for the dtor) > new to the C++ standard or has C++ always been like this and the > existing compilers simply did not complain? > > I'm not a C++ expert but I've always learned to put the class > name in front of every single method of a class... > > Kind regards, > Jan R. > > -- > Jan Reucker > email: jan dot reucker at web dot de > web: http://www.reucker-online.de > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |