xref: /petsc/src/sys/tests/linter/output/testValidLogicalCollective.out (revision 697336901c45ac77e1fd620fe1fca906cf3f95c8)
1<--- FIXED --->
2--------------------------------------------------------------------------------------------
3./src/sys/tests/linter/testValidLogicalCollective.c:8:3: error: Incorrect use of PetscValidLogicalCollectiveInt(), use PetscValidLogicalCollectiveBool() instead [-fincompatible-function]:
4  6 :
5  7 : /* incorrect */
6> 8 : PetscValidLogicalCollectiveInt(v, d, 2);
7      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
9  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
10
11./src/sys/tests/linter/testValidLogicalCollective.c:8:37 Note: Due to 'd' of type 'PetscBool'
12  6 :
13  7 : /* incorrect */
14> 8 : PetscValidLogicalCollectiveInt(v, d, 2);
15                                        ^
16  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
17  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
18./src/sys/tests/linter/testValidLogicalCollective.c:8:40: error: Argument number doesn't match for 'd'. Expected '4', found '2' [-fmatching-arg-num]:
19  6 :
20  7 : /* incorrect */
21> 8 : PetscValidLogicalCollectiveInt(v, d, 2);
22                                           ^
23  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
24  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
25
26./src/sys/tests/linter/testValidLogicalCollective.c:3:82 Note: 'd' is traceable to argument #4 'd' in enclosing function here:
27  1: #include <petsc/private/viewerimpl.h>
28  2:
29> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
30                                                                                      ^^^^^^^^^^^
31  4: {
32  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
33./src/sys/tests/linter/testValidLogicalCollective.c:9:3: error: Incorrect use of PetscValidLogicalCollectiveEnum(), use PetscValidLogicalCollectiveScalar() instead [-fincompatible-function]:
34  7 : /* incorrect */
35  8 : PetscValidLogicalCollectiveInt(v, d, 2);
36> 9 : PetscValidLogicalCollectiveEnum(v, e, 3);
37      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
39  11: PetscValidLogicalCollectiveScalar(v, a, 5);
40
41./src/sys/tests/linter/testValidLogicalCollective.c:9:38 Note: Due to 'e' of type 'PetscScalar' (a.k.a. 'double')
42  7 : /* incorrect */
43  8 : PetscValidLogicalCollectiveInt(v, d, 2);
44> 9 : PetscValidLogicalCollectiveEnum(v, e, 3);
45                                         ^
46  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
47  11: PetscValidLogicalCollectiveScalar(v, a, 5);
48./src/sys/tests/linter/testValidLogicalCollective.c:9:41: error: Argument number doesn't match for 'e'. Expected '5', found '3' [-fmatching-arg-num]:
49  7 : /* incorrect */
50  8 : PetscValidLogicalCollectiveInt(v, d, 2);
51> 9 : PetscValidLogicalCollectiveEnum(v, e, 3);
52                                            ^
53  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
54  11: PetscValidLogicalCollectiveScalar(v, a, 5);
55
56./src/sys/tests/linter/testValidLogicalCollective.c:3:95 Note: 'e' is traceable to argument #5 'e' in enclosing function here:
57  1: #include <petsc/private/viewerimpl.h>
58  2:
59> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
60                                                                                                   ^^^^^^^^^^^^^
61  4: {
62  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
63./src/sys/tests/linter/testValidLogicalCollective.c:10:3: error: Incorrect use of PetscValidLogicalCollectiveMPIInt(), use PetscValidLogicalCollectiveReal() instead [-fincompatible-function]:
64  8 : PetscValidLogicalCollectiveInt(v, d, 2);
65  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
66> 10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
67      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68  11: PetscValidLogicalCollectiveScalar(v, a, 5);
69  12: PetscValidLogicalCollectiveReal(v, b, 6);
70
71./src/sys/tests/linter/testValidLogicalCollective.c:10:40 Note: Due to 'f' of type 'PetscReal' (a.k.a. 'double')
72  8 : PetscValidLogicalCollectiveInt(v, d, 2);
73  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
74> 10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
75                                           ^
76  11: PetscValidLogicalCollectiveScalar(v, a, 5);
77  12: PetscValidLogicalCollectiveReal(v, b, 6);
78./src/sys/tests/linter/testValidLogicalCollective.c:10:43: error: Argument number doesn't match for 'f'. Expected '6', found '4' [-fmatching-arg-num]:
79  8 : PetscValidLogicalCollectiveInt(v, d, 2);
80  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
81> 10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
82                                              ^
83  11: PetscValidLogicalCollectiveScalar(v, a, 5);
84  12: PetscValidLogicalCollectiveReal(v, b, 6);
85
86./src/sys/tests/linter/testValidLogicalCollective.c:3:110 Note: 'f' is traceable to argument #6 'f' in enclosing function here:
87  1: #include <petsc/private/viewerimpl.h>
88  2:
89> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
90                                                                                                                  ^^^^^^^^^^^
91  4: {
92  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
93./src/sys/tests/linter/testValidLogicalCollective.c:11:3: error: Incorrect use of PetscValidLogicalCollectiveScalar(), use PetscValidLogicalCollectiveInt() instead [-fincompatible-function]:
94  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
95  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
96> 11: PetscValidLogicalCollectiveScalar(v, a, 5);
97      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98  12: PetscValidLogicalCollectiveReal(v, b, 6);
99  13: PetscValidLogicalCollectiveEnum(v, c, 7);
100
101./src/sys/tests/linter/testValidLogicalCollective.c:11:40 Note: Due to 'a' of type 'PetscInt' (a.k.a. 'int')
102  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
103  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
104> 11: PetscValidLogicalCollectiveScalar(v, a, 5);
105                                           ^
106  12: PetscValidLogicalCollectiveReal(v, b, 6);
107  13: PetscValidLogicalCollectiveEnum(v, c, 7);
108./src/sys/tests/linter/testValidLogicalCollective.c:11:43: error: Argument number doesn't match for 'a'. Expected '1', found '5' [-fmatching-arg-num]:
109  9 : PetscValidLogicalCollectiveEnum(v, e, 3);
110  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
111> 11: PetscValidLogicalCollectiveScalar(v, a, 5);
112                                              ^
113  12: PetscValidLogicalCollectiveReal(v, b, 6);
114  13: PetscValidLogicalCollectiveEnum(v, c, 7);
115
116./src/sys/tests/linter/testValidLogicalCollective.c:3:43 Note: 'a' is traceable to argument #1 'a' in enclosing function here:
117  1: #include <petsc/private/viewerimpl.h>
118  2:
119> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
120                                               ^^^^^^^^^^
121  4: {
122  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
123./src/sys/tests/linter/testValidLogicalCollective.c:12:3: error: Incorrect use of PetscValidLogicalCollectiveReal(), use PetscValidLogicalCollectiveMPIInt() instead [-fincompatible-function]:
124  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
125  11: PetscValidLogicalCollectiveScalar(v, a, 5);
126> 12: PetscValidLogicalCollectiveReal(v, b, 6);
127      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128  13: PetscValidLogicalCollectiveEnum(v, c, 7);
129  14:
130
131./src/sys/tests/linter/testValidLogicalCollective.c:12:38 Note: Due to 'b' of type 'PetscMPIInt' (a.k.a. 'int')
132  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
133  11: PetscValidLogicalCollectiveScalar(v, a, 5);
134> 12: PetscValidLogicalCollectiveReal(v, b, 6);
135                                         ^
136  13: PetscValidLogicalCollectiveEnum(v, c, 7);
137  14:
138./src/sys/tests/linter/testValidLogicalCollective.c:12:41: error: Argument number doesn't match for 'b'. Expected '2', found '6' [-fmatching-arg-num]:
139  10: PetscValidLogicalCollectiveMPIInt(v, f, 4);
140  11: PetscValidLogicalCollectiveScalar(v, a, 5);
141> 12: PetscValidLogicalCollectiveReal(v, b, 6);
142                                            ^
143  13: PetscValidLogicalCollectiveEnum(v, c, 7);
144  14:
145
146./src/sys/tests/linter/testValidLogicalCollective.c:3:55 Note: 'b' is traceable to argument #2 'b' in enclosing function here:
147  1: #include <petsc/private/viewerimpl.h>
148  2:
149> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
150                                                           ^^^^^^^^^^^^^
151  4: {
152  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
153./src/sys/tests/linter/testValidLogicalCollective.c:13:3: error: Incorrect use of PetscValidLogicalCollectiveEnum(), use PetscValidLogicalCollectiveInt() instead [-fincompatible-function]:
154  11: PetscValidLogicalCollectiveScalar(v, a, 5);
155  12: PetscValidLogicalCollectiveReal(v, b, 6);
156> 13: PetscValidLogicalCollectiveEnum(v, c, 7);
157      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158  14:
159  15: /* correct */
160
161./src/sys/tests/linter/testValidLogicalCollective.c:13:38 Note: Due to 'c' of type 'PetscInt' (a.k.a. 'int')
162  11: PetscValidLogicalCollectiveScalar(v, a, 5);
163  12: PetscValidLogicalCollectiveReal(v, b, 6);
164> 13: PetscValidLogicalCollectiveEnum(v, c, 7);
165                                         ^
166  14:
167  15: /* correct */
168./src/sys/tests/linter/testValidLogicalCollective.c:13:41: error: Argument number doesn't match for 'c'. Expected '3', found '7' [-fmatching-arg-num]:
169  11: PetscValidLogicalCollectiveScalar(v, a, 5);
170  12: PetscValidLogicalCollectiveReal(v, b, 6);
171> 13: PetscValidLogicalCollectiveEnum(v, c, 7);
172                                            ^
173  14:
174  15: /* correct */
175
176./src/sys/tests/linter/testValidLogicalCollective.c:3:70 Note: 'c' is traceable to argument #3 'c' in enclosing function here:
177  1: #include <petsc/private/viewerimpl.h>
178  2:
179> 3: PetscErrorCode testValidLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f)
180                                                                          ^^^^^^^^^^
181  4: {
182  5:   PetscViewer v; /* dummy variable to satisfy the PetscObject for the following */
183--------------------------------------------------------------------------------------------
184<--- LEFT --->
185