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

Reply via email to