 void JonesTest::check_matrix_matrix(const oskar_Jones* jones,
         int offset1, int offset2)
 {
+    char msg[100]; // Message buffer.
+
     // Copy result to temporary host buffer.
     const oskar_Jones* temp = (jones->location() == 1) ?
             new oskar_Jones(jones, 0) : jones;

        fail_on_error ( j1->join_from_right(j2) );

        // Check result.
        check_matrix_scalar(j1, 0, 1);

        // Free memory.

        fail_on_error ( j1->join_from_right(j2) );

        // Check result.
        // NOTE: this test fails on CUDA arch < 1.3
        check_matrix_matrix(j1, 0, 1);

        // Free memory.
