0
votes

When building I get for instance: Error[Pe177]: variable "randomVariable" was declared but never referenced

I would like this to be a warning, not an error. How do I do this?

Using IAR embedded workbench for ARM 7.50.3

Thanks, Mikael

1
Are you treating all warnings as errors? You should check the compiler diagnostics options. - user694733
That did the trick, thank you. - Mikael Karlsson

1 Answers

1
votes

Unchecking 'Treat all warnings as errors' under Diagnostics did the trick.