Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > `make` Error th...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 43616 of 47925
Post > Topic >>

`make` Error that is confusing me...

by PekinSOFT@[EMAIL PROTECTED] Mar 1, 2008 at 08:34 AM

Hey all,

I'm working through the book "GUI Programming with Qt3" and have
worked my way through Chapter 4, creating a small spreadsheet
application.  I'm finally to a point where I can compile the program
and see how it looks, but I keep get some cryptic error that I don't
understand.  Maybe you all can help me out here.

I've created many files and have all of them included properly in my
implementation files, so I know the problem is not there.  The error
that I'm getting is as follows:
 
-----------------------------------------------------------------------------------------------------------------------------------
spreadsheet.h: In member function 'bool Spreadsheet::autoRecalculate()
const':
spreadsheet.h:19: error: argument of type 'bool (Spreadsheet::)()'
does not match 'bool'
make: *** [mainwindow.o] Error 1
 
-----------------------------------------------------------------------------------------------------------------------------------
The file in question, spreadsheet.h, has the following on line 19:

  bool autoRecalculate() const { return autoRecalc; }

Now, I don't understand what the compiler is trying to tell me with
the statement, "argument of type bool (SPreadsheet::)()  does not
match bool".  Any help with this is greatly appreciated.  Thank you
all for your time.

Cheers,

Sean Carrick
PekinSOFT Systems
PekinSOFT at gmail dot com
 




 5 Posts in Topic:
`make` Error that is confusing me...
PekinSOFT@[EMAIL PROTECTE  2008-03-01 08:34:18 
Re: `make` Error that is confusing me...
"jason.cipriani@[EMA  2008-03-01 08:50:16 
Re: `make` Error that is confusing me...
PekinSOFT@[EMAIL PROTECTE  2008-03-01 08:58:56 
Re: `make` Error that is confusing me...
PekinSOFT@[EMAIL PROTECTE  2008-03-01 09:07:20 
Re: `make` Error that is confusing me...
Jerry Coffin <jcoffin@  2008-03-01 10:03:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 17:47:59 CDT 2008.