*
* Author: David Gibson <david@gibson.dropbear.id.au>
* License: LGPL (v2.1 or any later version)
- *
- * Ccanlint:
- * // We need several gcc extensions
- * objects_build_without_features FAIL
- * tests_compile_without_features FAIL
- * tests_helpers_compile_without_features FAIL
*/
int main(int argc, char *argv[])
{
return 0;
}
+ if (strcmp(argv[1], "ccanlint") == 0) {
+ /* We need several gcc extensions */
+ printf("objects_build_without_features FAIL\n");
+ printf("tests_compile_without_features FAIL\n");
+ printf("tests_helpers_compile_without_features FAIL\n");
+ return 0;
+ }
+
return 1;
}