Skip to main content
ferro
Lead
July 24, 2024
Solved

error: unused variable in GfxDesigner

  • July 24, 2024
  • 1 reply
  • 612 views

ferro_0-1721812133219.png

Align_VerticalView.cpp:24:12: error: unused variable 'fontBaseline' [-Werror=unused-variable]
const int fontBaseline { mono.getFontBaseline () };
Best answer by ferro

Add ' -Wno-unused-variable' to \config\gcc\app.mk

ferro_0-1721812387960.png

 

1 reply

ferro
ferroAuthorBest answer
Lead
July 24, 2024

Add ' -Wno-unused-variable' to \config\gcc\app.mk

ferro_0-1721812387960.png