Re: [Plib-users] building on ubuntu linux 6.10, gcc 4.1.2
Brought to you by:
sjbaker
From: Jan R. <slo...@gm...> - 2006-11-09 21:37:43
|
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 |