Closed gpoo closed 4 years ago
clang is stricter than gcc when compiling with -Wformat-nonliteral and requires annotate the function parameters when passing an argument to a va_list that contains these arguments.
-Wformat-nonliteral
va_list
https://clang.llvm.org/docs/AttributeReference.html#format
clang is stricter than gcc when compiling with
-Wformat-nonliteral
and requires annotate the function parameters when passing an argument to ava_list
that contains these arguments.https://clang.llvm.org/docs/AttributeReference.html#format