This fix was necessary to get Check compiling with a c++ compiler.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1167
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
in CK_NOFORK mode are now closer to the contract, and are now
enabled.
+* Various code cleanup, including changes for compiling Check on
+ c++ compilers Clang and g++ (which are less forgiving than their
+ c counterparts).
+
Fri May 30, 2014: Released Check 0.9.13
based on r1137 (2014-05-26 21:03:09 +0000)
printf(" then use the following mode: CK_SILENT STDOUT [NORMAL|EXIT_TEST].\n");
}
-static void run_tests(int printmode, char *log_type, int include_exit_test)
+static void run_tests(enum print_output printmode, char *log_type, int include_exit_test)
{
SRunner *sr;
int dump_everything_to_stdout = 0;
#define INCLUDE_EXIT_TEST_ARG 3
int main(int argc, char **argv)
{
- int printmode;
+ enum print_output printmode;
int include_exit_test;
if(argc != 4)