We put a patch in the tracker that fixed a few compiler warnings (gcc 4.2.4), but here are a few whose fix might be non-trivial. Someone who knows has better knowledge of the code will probably be able to fix these in a simpler/saner way than in our attempts.
src/reporter.c: In function ‘create_reporter’:
src/reporter.c:34: warning: assignment from incompatible pointer type
mocks_tests.c: In function ‘string_out’:
mocks_tests.c:55: warning: cast to pointer from integer of different size
cute_reporter_tests.c: In function ‘will_report_beginning_and_successful_finishing_of_test’:
cute_reporter_tests.c:76: error: ‘va_start’ used in function with fixed args
cute_reporter_tests.c: In function ‘will_report_failing_of_test_only_once’:
cute_reporter_tests.c:99: warning: passing argument 5 of ‘reporter->show_fail’ from incompatible pointer type
cute_reporter_tests.c:105: warning: passing argument 5 of ‘reporter->show_fail’ from incompatible pointer type
Hello, what gcc arguments you are using?
Hi, did you still get this warnings?