Fix CI checks for #ifdef fan out
The QCBOR_DISABLE_XXX defines were's passed through for the "warn" build.
* intentional error to check ci
* Makefile fix for warn build
* Remove forced error
---------
Co-authored-by: Laurence Lundblade <lgl@securitytheory.com>
diff --git a/Makefile b/Makefile
index d5d359b..defcb72 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@
# run "make warn" as a handy way to compile with the warning flags
# used in the QCBOR release process. See CFLAGS above.
warn:
- make CMD_LINE="-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wcast-qual"
+ make CMD_LINE="$(CMD_LINE) -Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wcast-qual"
# The shared library is not made by default because of platform