Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Base class "DJNode" of incomplete type.

Base class "DJNode" of incomplete type.
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Aug 23, 2003, 01:20 PM
 
I keep getting this one error surrounding my class "DJNode" (in a C++ project in ProjectBuilder). What exactly is it bitching at em about? I am no C++ neophyte, but this error has never come up like this. I've got the headers and stuff all included, and the

#ifndef <bla>
#define <bla>

#endif

stuff all going.

Any ideas? Should I post the code?

Erik
     
Forum Regular
Join Date: Jul 2001
Location: Québec, Canada
Status: Offline
Reply With Quote
Aug 24, 2003, 08:26 AM
 
Make sure that base class in not just declared (class BaseClass;) but also defined (class BaseClass { ... };).

Since the base class is most probably included from another file, you could check that you do not accidentally use the same symbol for both files in your ifndef.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2