Win32 Port of Safari
Luis Pedro Coelho
luis_pedro at netcabo.pt
Sat Jan 11 15:56:40 GMT 2003
Em Sexta 10 Janeiro 2003 02:30, Aaron J. Seigo escreveu:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 09 January 2003 05:27, Luis Pedro Coelho wrote:
> > There is a thread in comp.std.c++ called "Forward declaration of a class
> > as a struct" at (sorry about the long URL):
>
> all well and good, but there are compilers that don't like this one bit. if
> there is no difference between a class and a struct, then keep it straight:
> if you declare it a class, implement it as a class...
>
> i spend effort making sure KDE still compiles on oddball compilers like the
> one shipped with RH6 (yes, that's a 6) so that we aren't shutting people
> out even if we can excuse it by saying, "the compiler you're using sucks".
> one of the things that particular (and officially unsupported) compiler
> doesn't do is compile a struct that was declared as a class.
I just posted because I felt the original post was under the impression that
it was incorrect C++ to declare something as a struct once and as a class
later.
I have nothing against accomodating certain broken compilers. I just meant
that I did not think that VC++ should be one of those supported compilers. I
think that the compiler shipped with RH 6 is more worthy of support than
VC++.
Regards,
--
Luis Pedro Coelho
http://blogs.salon.com/0001523
More information about the kfm-devel
mailing list