mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1798] Compiler warning, Debug_WM, %5lu should be %5u #1514
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1514
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dario503 on GitHub (Feb 4, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1798
Changing %5lu to %5u eliminates all -Wall warnings.
_debugPort.printf("[MEM] free: %5u | max: %5u | frag: %3u%% \n", free, max, frag);//_debugPort.printf("[MEM] free: %5lu | max: %5u | frag: %3u%% \n", free, max, frag);@amcewen commented on GitHub (May 21, 2025):
Which version of the ESP-IDF is that on? The
%5uversion used to build okay for me for ESP32S3 on ESP-IDF v4.4.6, but after switching to v5.3.3 I need the%5luversion for it to build.Maybe the suggestion in this comment would fix it for both possibilities?
@Nirab123456 commented on GitHub (Nov 16, 2025):
Lol maintainer is dead..... still same issue (anyone if needed just replace the line or remove)
_debugPort.printf("[MEM] free: %5lu | max: %5lu | frag: %3lu%% \n",
static_cast(free),
static_cast(max),
static_cast(frag));