HomeClusterLabs Projects

Build: configure: some CFLAGS codependent (Wformat-nonliteral+Wformat)

Description

Build: configure: some CFLAGS codependent (Wformat-nonliteral+Wformat)

...therefore the extra flags to be tested shall be suitably ordered
+ the support tested in additive manner to prevent false negatives.

Quick demo with GCC7:
$ echo | gcc -E -Werror -Wformat-nonliteral - >/dev/null

cc1: error: -Wformat-nonliteral ignored without -Wformat [-Werror=format-nonliteral]
cc1: all warnings being treated as errors

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Feb 15 2017, 7:07 AM
kgaillotCommitted on Sep 22 2017, 6:23 PM
Parents
rP5d39f5b85f1a: Fix: snprintf: use correct signedness in print format specifiers
Branches
Unknown
Tags
Unknown

Event Timeline