[GH-ISSUE #1419] WString == Overload Changes in Arduino Master #1214

Open
opened 2026-02-28 01:29:04 +03:00 by kerem · 1 comment
Owner

Originally created by @bwjohns4 on GitHub (May 16, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1419

This may only be a short-lived issue, but here is a link to PR to fix an issue that was preventing WM to compile with the latest Arduino Master https://github.com/esp8266/Arduino/pull/8569

The line would not compile and gave the error below:

if (_apPassword == NULL) _apPassword = "";

lib/WiFiManager/WiFiManager.cpp:4143:19: error: ambiguous overload for 'operator==' (operand types are 'String' and 'int')
4143 | if (_apPassword == NULL) _apPassword = "";

Originally created by @bwjohns4 on GitHub (May 16, 2022). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1419 This may only be a short-lived issue, but here is a link to PR to fix an issue that was preventing WM to compile with the latest Arduino Master [https://github.com/esp8266/Arduino/pull/8569](https://github.com/esp8266/Arduino/pull/8569) The line would not compile and gave the error below: `if (_apPassword == NULL) _apPassword = "";` lib/WiFiManager/WiFiManager.cpp:4143:19: error: ambiguous overload for 'operator==' (operand types are 'String' and 'int') 4143 | if (_apPassword == NULL) _apPassword = "";
Author
Owner

@tablatronix commented on GitHub (May 16, 2022):

Thanks

<!-- gh-comment-id:1127856269 --> @tablatronix commented on GitHub (May 16, 2022): Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1214
No description provided.