Re: [Plib-users] building on ubuntu linux 6.10, gcc 4.1.2
Brought to you by:
sjbaker
|
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-11-15 19:09:04
|
This has been fixed on the current SVN version. I do not see it in 1.8.4
RC1 either; a look through the SVN tree reveals that it was removed last
March.
John F. Fay
Technical Fellow
Jacobs/Sverdrup TEAS Group
850-883-1294
-----Original Message-----
From: pli...@li...
[mailto:pli...@li...] On Behalf Of John Grant
Sent: Saturday, November 11, 2006 11:19 AM
To: PLIB Users
Subject: Re: [Plib-users] building on ubuntu linux 6.10, gcc 4.1.2
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... <mailto: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
<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
|