[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Plum Geek Forum • Minor compilation warning work-around
Page 1 of 1

Minor compilation warning work-around

Posted: Sat Feb 27, 2016 11:18 pm
by wclift

Re: Minor compilation warning work-around

Posted: Tue Mar 01, 2016 12:14 am
by sil
I can't confirm for the Wink

I have installed:
Wink_PreLoadedDemo_Rev01 Version 1.0 12/2015
Wink_BaseSketch_Rev01_02 Version 1.2 12/2015

and can't find irData in any files in those sketchbooks.



However what you describe IS in the Ringo default behaviours rev 06 01 in the ringohrdware.h nclude:

Ringo Robot: RingoHardware Rev01.02 12/2015


And yes your replacement does remove that warning, but there are other warnings already there too so I wont keep the change in place. Are you sure you haven't included the ringohardware.h include in your Wink sketchbook? it shouldn't be there, though there is a download package common to both robots that Wink only owners need to download so maybe a little confusion there? Anyway, as you say, its just a warning, not a worry.

Re: Minor compilation warning work-around

Posted: Fri Mar 04, 2016 2:19 am
by wclift

Re: Minor compilation warning work-around

Posted: Fri Mar 04, 2016 5:23 am
by sil
If nothing else its a learning point you can explain to the kids your process of troubleshooting and maybe have a printout close at hand for future warnings or errors that might come up related to your fix, if any. Its all part of learning experience :)

Re: Minor compilation warning work-around

Posted: Tue Mar 22, 2016 5:52 am
by wclift

Re: Minor compilation warning work-around

Posted: Thu Mar 24, 2016 11:00 am
by alb4h