Compilation issues with a C++ Internet-of-Things Event-Framework
David Lyon <[email protected]> Sat, 26 Apr 2014 10:13:56 +1000
| Newsgroups | gmane.org.user-groups.slug.general |
|---|---|
| Message-ID | <CAEN4MSS1KwjS0WAbJq_fprJL7BGf+rJJX6yYyt+3C=P0HSxc9w@mail.gmail.com> |
Hi,
I'm having some problems with compile errors.
I have an Event-Framework and the programs look like this:
-
https://github.com/clixx-io/clixx.io/blob/master/examples_eventframework/timer.cpp
When I compile, I get these errors:
dlyon@dlyon-HP8000SFF:~/IoT/madstuff$ make
CC madstuff.o
madstuff.cpp: In member function ‘void App::setup()’:
madstuff.cpp:33:45: warning: converting from ‘void (App::*)()’ to ‘void
(*)()’ [-Wpmf-conversions]
addTimerEvent(2, (void (*)()) &App::timerevent);
I know they are only warnings, but I'm doing a talk in Japan in a few weeks
and no warnings/complaints would be nicer. The IoT Event-System is working.
Code is here:
https://github.com/clixx-io/clixx.io/tree/master/eventframework
Thanks
Regards
David
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html