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