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