From kfm-devel Fri Jan 10 01:30:11 2003 From: "Aaron J. Seigo" Date: Fri, 10 Jan 2003 01:30:11 +0000 To: kfm-devel Subject: Re: Win32 Port of Safari X-MARC-Message: https://marc.info/?l=kfm-devel&m=104216232402293 -----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. if it were a matter of choosing between writing broken C++ and proper C++, i'd pick proper C++ over supporting old and broken compilers any day. but if we can support old and broken compilers simply by writing nice _and_ proper C++, i'm all for that. - -- Aaron J. Seigo GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 "Everything should be made as simple as possible, but not simpler" - Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+HiIj1rcusafx20MRAm7eAJ9vxA9Iz137AlEjE65HGcHsEMxdKwCghmhV kZa2gJu3gvC5mtcA7wft5cM= =lSnc -----END PGP SIGNATURE-----