| Author |
Message |
< beginners ~ ofxSimpleGuiToo - function must return a value |
|
circassia
|
Posted: Wed Dec 23, 2009 10:13 pm |
|
|
| Joined: Thu Oct 29, 2009 3:00 pmPosts: 64 |
Hi @ all,
i was trieng to test the ofxSimpleGuiToo but i'am getting some errors which i cannot understand.
addons\ofxsimpleguitoo\ofxsimpleguicontrol.cpp(62) : error C4716: 'ofxSimpleGuiControl::setConfig':must return a value ... .. ..
(there are 9 more errors from the same type in the same file)
Normally i was getting such errors, when mac-users where giving me their files. I tried to change the functions to "void" but still getting the errors.
thank you for your concern
|
|
Top
|
|
|
circassia
|
Posted: Sat Dec 26, 2009 12:19 am |
|
|
| Joined: Thu Oct 29, 2009 3:00 pmPosts: 64 |
Solution: Hi everyone, searching more accurate has guided me to the solution. As i have expected it is a microsoft specific problem. VS doesn't like function without any return value, you can add a Quote: return *this;
to every function which says "must have a value" For detailled information, the solution was here: viewtopic.php?f=10&t=2619&start=0thanks, see you.
|
|
Top
|
|
|
|
All times are UTC
Users browsing this forum: No registered users and 1 guest
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|