NodeMCU-12E compilation error

Please help!

I'm guessing this is a library issue. I get this error message on many codes I find online to try my

ESP8266. "C:\Documents\Arduino\libraries\ESP8266WiFi\src\SerialESP8266wifi.h:181:10: note: no

known conversion for argument 2 from 'STATUS' to 'const char*'".

I notice that "status" is a keyword in the .cpp file so what gives?

The code looks pretty basic:

"#include <ESP8266WiFi.h>

// Replace these with your WiFi network settings
const char* ssid = "Coltene-WLAN"; //replace this with your WiFi network name
const char* password = "xxxxxxxx"; //replace this with your WiFi network password

void setup()

WiFi.begin(ssid, password);

while (WiFi.status() != WL_CONNECTED)

Serial.print("IP Address is: ");

void loop() {

Thanks for any and all help received,

The code looks pretty basic:

But that is not the code being compiled when the error is generated.

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper in the Arduino Web Editor). Click that button. Paste the error in a message here USING CODE TAGS (</> button on the forum toolbar). If the text exceeds the forum's 9000 character limit, save it to a text file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.