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