X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fdeque%2F_info;h=1c5460f932b2b11976f143ac14980d431f4939db;hp=63687b7421e96ef8e68336ea42e93318b7c788f2;hb=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;hpb=25b7406d11ea3703be864097af66ce95611dde72 diff --git a/ccan/deque/_info b/ccan/deque/_info index 63687b74..1c5460f9 100644 --- a/ccan/deque/_info +++ b/ccan/deque/_info @@ -122,12 +122,6 @@ * * License: APACHE-2 * Author: Dan Good - * - * Ccanlint: - * // uses statement expressions - * // supported by gcc, clang, icc, and some others, but not msvc - * // (see https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html) - * objects_build_without_features FAIL */ int main(int argc, char *argv[]) { @@ -142,5 +136,13 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "ccanlint") == 0) { + /* uses statement expressions + * supported by gcc, clang, icc, and some others, but not msvc + * (see https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html) */ + printf("objects_build_without_features FAIL\n"); + return 0; + } + return 1; }