Bug 62505 - friend declaration require class-key's
Summary: friend declaration require class-key's
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (show other bugs)
Version: 1.0.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-11 17:33 UTC by Leon Pennington
Modified: 2009-01-22 23:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Pennington 2003-08-11 17:33:03 UTC
Version:           2.1.5 (using KDE KDE 3.1.3)
Installed from:    Debian testing/unstable Packages
Compiler:          3.3.1 
OS:          Linux

When I'm using the application wizard for KDE MDI project, the header files for xxxxview.h and xxxxdoc.h both miss out of the friend declaration the class key word in their class definitions.

i.e.

class xxxxView : public QWidget
{
  Q_OBJECT

  friend xxxxDoc;

should be:

  friend class xxxxDoc;

this leads too 'friend declaration requires class-key' error's.

a bit trivial to fix but could be confusing to people that don't normally use friend classes in their class definitions.
Comment 1 Amilcar do Carmo Lucas 2003-08-11 18:43:32 UTC
Sorry, KDevelop 2.x is no longer under development.

You are strongly advised to update to the latest CVS version of KDevelop3, code
name gideon, take a look at:
http://www.kdevelop.org/index.html?filename=branches_compiling.html
for all the details you need. If you find a problem or need help please send a
mail to the mailing list:
http://www.kdevelop.org/index.html?filename=mailinglist.html
or drop us a line at the channel #kdevelop on the server irc.kde.org using
ksirc, for example.
Please use the CVS version and compile it yourself because that way you can
easily patch it if a bug is found.

KDevelop3 can open Develop2 projects. To do so, goto the "Project -> Open
Project ... " and select
"KDevelop 2 Project Files" in the "Filter:".
You can have and run KDevelop3 and KDevelop2 at the same time on the same
computer without any problems.
So migrating is a breeze. :)

P.S. : The KDevelop team closed over 337 reported and confirmed bugs since the
release of the last KDevelop2.x
Comment 2 Jens Dagerbo 2003-08-24 02:49:22 UTC
Gideon doesn't even have this template anymore. Closing.