davidchisnall / dtc

FreeBSD Device Tree Compiler
18 stars 17 forks source link

Fix warnings when WARNS=6, remove WARNS override #36

Closed kevans91 closed 6 years ago

kevans91 commented 6 years ago

The only warnings that actually crop up are due to the version_* variables being local to the compilation unit and not being static (and not being declared elsewhere as 'extern').

Fix this, remove WARNS so we just catch these things as they crop up later.

davidchisnall commented 6 years ago

It would be good to make the cmake build system enable all of the relevant warnings as well.