* Example:
* // Evaluates arithmetic expressions using Dijkstra's two-stack algorithm.
* // Original: http://algs4.cs.princeton.edu/13stacks/EvaluateDeluxe.java.html
- * #define _XOPEN_SOURCE 700
+ * #define _XOPEN_SOURCE 700 // only for getline(3) in this demo
* #include <stdio.h>
* #include <stdlib.h>
* #include <ctype.h>
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;
}