1<--- FIXED ---> 2[ROOT] ------------------------------------------------------------------------------------- 3ERROR 0: ./src/sys/tests/linter/testValidHeaders.c:12:32 4'r' of type 'PetscRandom' (a.k.a. '_p_PetscRandom *') 5 10: { 6 11: /* incorrect */ 7> 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 8 ^ 9 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 10 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 11 12Classid doesn't match. Expected 'PETSC_RANDOM_CLASSID' found 'PETSC_VIEWER_CLASSID' [-fincompatible-classid] 13 14ERROR 1: ./src/sys/tests/linter/testValidHeaders.c:12:57 15'0' of type 'int' 16 10: { 17 11: /* incorrect */ 18> 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 19 ^ 20 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 21 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 22 23Argument number doesn't match for 'r'. Expected '1', found '0' [-fmatching-arg-num] 24 25./src/sys/tests/linter/testValidHeaders.c:9:33 Note: 'r' is traceable to argument #1 'r' in enclosing function here: 26 7 : #endif 27 8 : 28> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 29 ^^^^^^^^^^^^^ 30 10: { 31 11: /* incorrect */ 32 33ERROR 2: ./src/sys/tests/linter/testValidHeaders.c:13:32 34'v' of type 'PetscViewer' (a.k.a. '_p_PetscViewer *') 35 11: /* incorrect */ 36 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 37> 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 38 ^ 39 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 40 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 41 42Classid doesn't match. Expected 'PETSC_VIEWER_CLASSID' found 'PETSC_DRAW_CLASSID' [-fincompatible-classid] 43 44ERROR 3: ./src/sys/tests/linter/testValidHeaders.c:13:55 45'0' of type 'int' 46 11: /* incorrect */ 47 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 48> 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 49 ^ 50 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 51 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 52 53Argument number doesn't match for 'v'. Expected '2', found '0' [-fmatching-arg-num] 54 55./src/sys/tests/linter/testValidHeaders.c:9:48 Note: 'v' is traceable to argument #2 'v' in enclosing function here: 56 7 : #endif 57 8 : 58> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 59 ^^^^^^^^^^^^^ 60 10: { 61 11: /* incorrect */ 62 63ERROR 4: ./src/sys/tests/linter/testValidHeaders.c:14:32 64'd' of type 'PetscDraw' (a.k.a. '_p_PetscDraw *') 65 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 66 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 67> 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 68 ^ 69 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 70 16: 71 72Classid doesn't match. Expected 'PETSC_DRAW_CLASSID' found 'PETSC_DRAWAXIS_CLASSID' [-fincompatible-classid] 73 74ERROR 5: ./src/sys/tests/linter/testValidHeaders.c:14:59 75'0' of type 'int' 76 12: PetscValidHeaderSpecificType(r, PETSC_VIEWER_CLASSID, 0, DMDA); 77 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 78> 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 79 ^ 80 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 81 16: 82 83Argument number doesn't match for 'd'. Expected '3', found '0' [-fmatching-arg-num] 84 85./src/sys/tests/linter/testValidHeaders.c:9:63 Note: 'd' is traceable to argument #3 'd' in enclosing function here: 86 7 : #endif 87 8 : 88> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 89 ^^^^^^^^^^^ 90 10: { 91 11: /* incorrect */ 92 93ERROR 6: ./src/sys/tests/linter/testValidHeaders.c:15:32 94'a' of type 'PetscDrawAxis' (a.k.a. '_p_PetscDrawAxis *') 95 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 96 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 97> 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 98 ^ 99 16: 100 17: /* correct */ 101 102Classid doesn't match. Expected 'PETSC_DRAWAXIS_CLASSID' found 'PETSC_RANDOM_CLASSID' [-fincompatible-classid] 103 104ERROR 7: ./src/sys/tests/linter/testValidHeaders.c:15:57 105'0' of type 'int' 106 13: PetscValidHeaderSpecificType(v, PETSC_DRAW_CLASSID, 0, DMDA); 107 14: PetscValidHeaderSpecificType(d, PETSC_DRAWAXIS_CLASSID, 0, DMDA); 108> 15: PetscValidHeaderSpecificType(a, PETSC_RANDOM_CLASSID, 0, DMDA); 109 ^ 110 16: 111 17: /* correct */ 112 113Argument number doesn't match for 'a'. Expected '4', found '0' [-fmatching-arg-num] 114 115./src/sys/tests/linter/testValidHeaders.c:9:76 Note: 'a' is traceable to argument #4 'a' in enclosing function here: 116 7 : #endif 117 8 : 118> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 119 ^^^^^^^^^^^^^^^ 120 10: { 121 11: /* incorrect */ 122 123ERROR 8: ./src/sys/tests/linter/testValidHeaders.c:24:28 124'r' of type 'PetscRandom' (a.k.a. '_p_PetscRandom *') 125 22: 126 23: /* incorrect */ 127> 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 128 ^ 129 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 130 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 131 132Classid doesn't match. Expected 'PETSC_RANDOM_CLASSID' found 'PETSC_DRAW_CLASSID' [-fincompatible-classid] 133 134ERROR 9: ./src/sys/tests/linter/testValidHeaders.c:24:51 135'0' of type 'int' 136 22: 137 23: /* incorrect */ 138> 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 139 ^ 140 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 141 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 142 143Argument number doesn't match for 'r'. Expected '1', found '0' [-fmatching-arg-num] 144 145./src/sys/tests/linter/testValidHeaders.c:9:33 Note: 'r' is traceable to argument #1 'r' in enclosing function here: 146 7 : #endif 147 8 : 148> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 149 ^^^^^^^^^^^^^ 150 10: { 151 11: /* incorrect */ 152 153ERROR 10: ./src/sys/tests/linter/testValidHeaders.c:25:28 154'v' of type 'PetscViewer' (a.k.a. '_p_PetscViewer *') 155 23: /* incorrect */ 156 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 157> 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 158 ^ 159 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 160 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 161 162Classid doesn't match. Expected 'PETSC_VIEWER_CLASSID' found 'PETSC_DRAWAXIS_CLASSID' [-fincompatible-classid] 163 164ERROR 11: ./src/sys/tests/linter/testValidHeaders.c:25:55 165'0' of type 'int' 166 23: /* incorrect */ 167 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 168> 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 169 ^ 170 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 171 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 172 173Argument number doesn't match for 'v'. Expected '2', found '0' [-fmatching-arg-num] 174 175./src/sys/tests/linter/testValidHeaders.c:9:48 Note: 'v' is traceable to argument #2 'v' in enclosing function here: 176 7 : #endif 177 8 : 178> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 179 ^^^^^^^^^^^^^ 180 10: { 181 11: /* incorrect */ 182 183ERROR 12: ./src/sys/tests/linter/testValidHeaders.c:26:28 184'd' of type 'PetscDraw' (a.k.a. '_p_PetscDraw *') 185 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 186 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 187> 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 188 ^ 189 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 190 28: 191 192Classid doesn't match. Expected 'PETSC_DRAW_CLASSID' found 'PETSC_RANDOM_CLASSID' [-fincompatible-classid] 193 194ERROR 13: ./src/sys/tests/linter/testValidHeaders.c:26:53 195'0' of type 'int' 196 24: PetscValidHeaderSpecific(r, PETSC_DRAW_CLASSID, 0); 197 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 198> 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 199 ^ 200 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 201 28: 202 203Argument number doesn't match for 'd'. Expected '3', found '0' [-fmatching-arg-num] 204 205./src/sys/tests/linter/testValidHeaders.c:9:63 Note: 'd' is traceable to argument #3 'd' in enclosing function here: 206 7 : #endif 207 8 : 208> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 209 ^^^^^^^^^^^ 210 10: { 211 11: /* incorrect */ 212 213ERROR 14: ./src/sys/tests/linter/testValidHeaders.c:27:28 214'a' of type 'PetscDrawAxis' (a.k.a. '_p_PetscDrawAxis *') 215 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 216 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 217> 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 218 ^ 219 28: 220 29: /* correct */ 221 222Classid doesn't match. Expected 'PETSC_DRAWAXIS_CLASSID' found 'PETSC_VIEWER_CLASSID' [-fincompatible-classid] 223 224ERROR 15: ./src/sys/tests/linter/testValidHeaders.c:27:53 225'0' of type 'int' 226 25: PetscValidHeaderSpecific(v, PETSC_DRAWAXIS_CLASSID, 0); 227 26: PetscValidHeaderSpecific(d, PETSC_RANDOM_CLASSID, 0); 228> 27: PetscValidHeaderSpecific(a, PETSC_VIEWER_CLASSID, 0); 229 ^ 230 28: 231 29: /* correct */ 232 233Argument number doesn't match for 'a'. Expected '4', found '0' [-fmatching-arg-num] 234 235./src/sys/tests/linter/testValidHeaders.c:9:76 Note: 'a' is traceable to argument #4 'a' in enclosing function here: 236 7 : #endif 237 8 : 238> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 239 ^^^^^^^^^^^^^^^ 240 10: { 241 11: /* incorrect */ 242 243ERROR 16: ./src/sys/tests/linter/testValidHeaders.c:36:23 244'55' of type 'int' 245 34: 246 35: /* incorrect */ 247> 36: PetscValidHeader(r, 55); 248 ^^ 249 37: PetscValidHeader(v, 56); 250 38: PetscValidHeader(d, 57); 251 252Argument number doesn't match for 'r'. Expected '1', found '55' [-fmatching-arg-num] 253 254./src/sys/tests/linter/testValidHeaders.c:9:33 Note: 'r' is traceable to argument #1 'r' in enclosing function here: 255 7 : #endif 256 8 : 257> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 258 ^^^^^^^^^^^^^ 259 10: { 260 11: /* incorrect */ 261 262ERROR 17: ./src/sys/tests/linter/testValidHeaders.c:37:23 263'56' of type 'int' 264 35: /* incorrect */ 265 36: PetscValidHeader(r, 55); 266> 37: PetscValidHeader(v, 56); 267 ^^ 268 38: PetscValidHeader(d, 57); 269 39: PetscValidHeader(a, 58); 270 271Argument number doesn't match for 'v'. Expected '2', found '56' [-fmatching-arg-num] 272 273./src/sys/tests/linter/testValidHeaders.c:9:48 Note: 'v' is traceable to argument #2 'v' in enclosing function here: 274 7 : #endif 275 8 : 276> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 277 ^^^^^^^^^^^^^ 278 10: { 279 11: /* incorrect */ 280 281ERROR 18: ./src/sys/tests/linter/testValidHeaders.c:38:23 282'57' of type 'int' 283 36: PetscValidHeader(r, 55); 284 37: PetscValidHeader(v, 56); 285> 38: PetscValidHeader(d, 57); 286 ^^ 287 39: PetscValidHeader(a, 58); 288 40: 289 290Argument number doesn't match for 'd'. Expected '3', found '57' [-fmatching-arg-num] 291 292./src/sys/tests/linter/testValidHeaders.c:9:63 Note: 'd' is traceable to argument #3 'd' in enclosing function here: 293 7 : #endif 294 8 : 295> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 296 ^^^^^^^^^^^ 297 10: { 298 11: /* incorrect */ 299 300ERROR 19: ./src/sys/tests/linter/testValidHeaders.c:39:23 301'58' of type 'int' 302 37: PetscValidHeader(v, 56); 303 38: PetscValidHeader(d, 57); 304> 39: PetscValidHeader(a, 58); 305 ^^ 306 40: 307 41: /* correct */ 308 309Argument number doesn't match for 'a'. Expected '4', found '58' [-fmatching-arg-num] 310 311./src/sys/tests/linter/testValidHeaders.c:9:76 Note: 'a' is traceable to argument #4 'a' in enclosing function here: 312 7 : #endif 313 8 : 314> 9 : PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) 315 ^^^^^^^^^^^^^^^ 316 10: { 317 11: /* incorrect */ 318[ROOT] ------------------------------------------------------------------------------------- 319<--- LEFT ---> 320