<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Deprecated-message on compiling ESP8266]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1714&amp;type=atom" />
	<updated>2023-11-12T15:17:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1714</id>
		<entry>
			<title type="html"><![CDATA[Deprecated-message on compiling ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5247#p5247" />
			<content type="html"><![CDATA[<p>As I compiled an old project with a newer ESP8266 board manager (V3.1.2), I got a compile issue.<br />Maybe it is a warning or a note, whatever.</p><p>Reason: Obviously, there is a member of a class renamed by espressif:<br />\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src\WiFiServer.h<br />line 85 reads:<br />WiFiClient available(uint8_t* status = NULL) __attribute__((deprecated(&quot;Renamed to accept().&quot;)));</p><p>It can be fixed easily. Just edit file<br />\Documents\Arduino\libraries\RemoteXY\src\RemoteXYComm_WiFi.h<br />at line 95.<br />change it from<br />WiFiClient cl = server-&gt;available ();<br />to<br />WiFiClient cl = server-&gt;accept ();</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[Pontifex]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2228</uri>
			</author>
			<updated>2023-11-12T15:17:36Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5247#p5247</id>
		</entry>
</feed>
