]> sigrok.org Git - libsigrok.git/commitdiff
Build: Make compiler warnings configurable
authorDaniel Elstner <redacted>
Sun, 23 Aug 2015 13:02:30 +0000 (15:02 +0200)
committerDaniel Elstner <redacted>
Mon, 24 Aug 2015 18:08:24 +0000 (20:08 +0200)
Use the SR_ARG_ENABLE_WARNINGS macro to configure and check for
the availability of compiler warning flags. Maintain separate
sets of warning flags for C and C++.

The configure option --enable-warnings=[min|max|fatal|no] can
be used to set the compiler warning level for all languages.
The default level is "max".


No differences found