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