I happily found somewhere in this forum the {.hint[XDeclaredButNotUsed]:off.} pragma which I strongly prefer over a command line switch (or nim.cfg).
Funny thing: With some source files it seems to work, with others not. Probably just me being dumb.
Any helpful advice?
Sorry to push this but that problem is a small but really annoying nuisance.
@Araq, I guess for you an answer/explanation is a no brainer and 1 - 3 lines only. Please.
That's why I didn't use push pop but plain .hint[...]:off
And I does work. Sometimes. And sometimes not.