I am wanting to test #61 with RTEMS 7. I am seeing build errors. They are:
../devIocStatsAnalog.c:286:37: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(int)' [-Wincompatible-pointer-types]
286 | aStats devAiStats = {6, NULL, ai_init, ai_init_record, ai_ioint_info,
| ^~~~~~~
../devIocStatsAnalog.c:286:37: note: (near initialization for 'devAiStats.init')
../devIocStatsAnalog.c:180:13: note: 'ai_init' declared here
180 | static long ai_init(int pass);
| ^~~~~~~
../devIocStatsAnalog.c:286:46: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aiRecord *)' [-Wincompatible-pointer-types]
286 | aStats devAiStats = {6, NULL, ai_init, ai_init_record, ai_ioint_info,
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:286:46: note: (near initialization for 'devAiStats.init_record')
../devIocStatsAnalog.c:181:13: note: 'ai_init_record' declared here
181 | static long ai_init_record(aiRecord *);
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:286:62: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(int, aiRecord *, struct ioscan_head **)' [-Wincompatible-pointer-types]
286 | aStats devAiStats = {6, NULL, ai_init, ai_init_record, ai_ioint_info,
| ^~~~~~~~~~~~~
../devIocStatsAnalog.c:286:62: note: (near initialization for 'devAiStats.get_ioint_info')
../devIocStatsAnalog.c:183:13: note: 'ai_ioint_info' declared here
183 | static long ai_ioint_info(int cmd, aiRecord *pr, IOSCANPVT *iopvt);
| ^~~~~~~~~~~~~
../devIocStatsAnalog.c:287:22: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aiRecord *)' [-Wincompatible-pointer-types]
287 | ai_read, NULL};
| ^~~~~~~
../devIocStatsAnalog.c:287:22: note: (near initialization for 'devAiStats.read_write')
../devIocStatsAnalog.c:182:13: note: 'ai_read' declared here
182 | static long ai_read(aiRecord *);
| ^~~~~~~
../devIocStatsAnalog.c:289:37: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aoRecord *)' [-Wincompatible-pointer-types]
289 | aStats devAoStats = {6, NULL, NULL, ao_init_record, NULL, ao_write, NULL};
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:289:37: note: (near initialization for 'devAoStats.init_record')
../devIocStatsAnalog.c:189:13: note: 'ao_init_record' declared here
189 | static long ao_init_record(aoRecord *pr);
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:289:59: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aoRecord *)' [-Wincompatible-pointer-types]
289 | aStats devAoStats = {6, NULL, NULL, ao_init_record, NULL, ao_write, NULL};
| ^~~~~~~~
../devIocStatsAnalog.c:289:59: note: (near initialization for 'devAoStats.read_write')
../devIocStatsAnalog.c:190:13: note: 'ao_write' declared here
190 | static long ao_write(aoRecord *);
| ^~~~~~~~
../devIocStatsAnalog.c:292:14: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(int)' [-Wincompatible-pointer-types]
292 | 6, NULL, ai_clusts_init, ai_clusts_init_record, NULL, ai_clusts_read, NULL};
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:292:14: note: (near initialization for 'devAiClusts.init')
../devIocStatsAnalog.c:185:13: note: 'ai_clusts_init' declared here
185 | static long ai_clusts_init(int pass);
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:292:30: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aiRecord *)' [-Wincompatible-pointer-types]
292 | 6, NULL, ai_clusts_init, ai_clusts_init_record, NULL, ai_clusts_read, NULL};
| ^~~~~~~~~~~~~~~~~~~~~
../devIocStatsAnalog.c:292:30: note: (near initialization for 'devAiClusts.init_record')
../devIocStatsAnalog.c:186:13: note: 'ai_clusts_init_record' declared here
186 | static long ai_clusts_init_record(aiRecord *);
| ^~~~~~~~~~~~~~~~~~~~~
../devIocStatsAnalog.c:292:59: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(aiRecord *)' [-Wincompatible-pointer-types]
292 | 6, NULL, ai_clusts_init, ai_clusts_init_record, NULL, ai_clusts_read, NULL};
| ^~~~~~~~~~~~~~
../devIocStatsAnalog.c:292:59: note: (near initialization for 'devAiClusts.read_write')
../devIocStatsAnalog.c:187:13: note: 'ai_clusts_read' declared here
187 | static long ai_clusts_read(aiRecord *);
| ^~~~~~~~~~~~~~
../devIocStatsString.c:189:14: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(int)' [-Wincompatible-pointer-types]
189 | 5, NULL, stringin_init, stringin_init_record, NULL, stringin_read};
| ^~~~~~~~~~~~~
../devIocStatsString.c:189:14: note: (near initialization for 'devStringinStats.init')
../devIocStatsString.c:139:13: note: 'stringin_init' declared here
139 | static long stringin_init(int pass);
| ^~~~~~~~~~~~~
../devIocStatsString.c:189:29: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
189 | 5, NULL, stringin_init, stringin_init_record, NULL, stringin_read};
| ^~~~~~~~~~~~~~~~~~~~
../devIocStatsString.c:189:29: note: (near initialization for 'devStringinStats.init_record')
../devIocStatsString.c:140:13: note: 'stringin_init_record' declared here
140 | static long stringin_init_record(stringinRecord *);
| ^~~~~~~~~~~~~~~~~~~~
../devIocStatsString.c:189:57: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
189 | 5, NULL, stringin_init, stringin_init_record, NULL, stringin_read};
| ^~~~~~~~~~~~~
../devIocStatsString.c:189:57: note: (near initialization for 'devStringinStats.read_stringin')
../devIocStatsString.c:141:13: note: 'stringin_read' declared here
141 | static long stringin_read(stringinRecord *);
| ^~~~~~~~~~~~~
../devIocStatsString.c:190:53: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
190 | sStats devStringinEnvVar = {5, NULL, NULL, envvar_init_record,
| ^~~~~~~~~~~~~~~~~~
../devIocStatsString.c:190:53: note: (near initialization for 'devStringinEnvVar.init_record')
../devIocStatsString.c:142:13: note: 'envvar_init_record' declared here
142 | static long envvar_init_record(stringinRecord *);
| ^~~~~~~~~~~~~~~~~~
../devIocStatsString.c:191:35: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
191 | NULL, envvar_read};
| ^~~~~~~~~~~
../devIocStatsString.c:191:35: note: (near initialization for 'devStringinEnvVar.read_stringin')
../devIocStatsString.c:143:13: note: 'envvar_read' declared here
143 | static long envvar_read(stringinRecord *);
| ^~~~~~~~~~~
../devIocStatsString.c:192:43: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
192 | sStats devStringinEpics = {5, NULL, NULL, epics_init_record, NULL, epics_read};
| ^~~~~~~~~~~~~~~~~
../devIocStatsString.c:192:43: note: (near initialization for 'devStringinEpics.init_record')
../devIocStatsString.c:144:13: note: 'epics_init_record' declared here
144 | static long epics_init_record(stringinRecord *);
| ^~~~~~~~~~~~~~~~~
../devIocStatsString.c:192:68: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(stringinRecord *)' [-Wincompatible-pointer-types]
192 | sStats devStringinEpics = {5, NULL, NULL, epics_init_record, NULL, epics_read};
| ^~~~~~~~~~
../devIocStatsString.c:192:68: note: (near initialization for 'devStringinEpics.read_stringin')
../devIocStatsString.c:145:13: note: 'epics_read' declared here
145 | static long epics_read(stringinRecord *);
| ^~~~~~~~~~
../devIocStatsWaveform.c:120:14: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(int)' [-Wincompatible-pointer-types]
120 | 5, NULL, waveform_init, waveform_init_record, NULL, waveform_read};
| ^~~~~~~~~~~~~
../devIocStatsWaveform.c:120:14: note: (near initialization for 'devWaveformStats.init')
../devIocStatsWaveform.c:103:13: note: 'waveform_init' declared here
103 | static long waveform_init(int pass);
| ^~~~~~~~~~~~~
../devIocStatsWaveform.c:120:29: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(waveformRecord *)' [-Wincompatible-pointer-types]
120 | 5, NULL, waveform_init, waveform_init_record, NULL, waveform_read};
| ^~~~~~~~~~~~~~~~~~~~
../devIocStatsWaveform.c:120:29: note: (near initialization for 'devWaveformStats.init_record')
../devIocStatsWaveform.c:104:13: note: 'waveform_init_record' declared here
104 | static long waveform_init_record(waveformRecord *);
| ^~~~~~~~~~~~~~~~~~~~
../devIocStatsWaveform.c:120:57: error: initialization of 'long int (*)(void)' from incompatible pointer type 'long int (*)(waveformRecord *)' [-Wincompatible-pointer-types]
120 | 5, NULL, waveform_init, waveform_init_record, NULL, waveform_read};
| ^~~~~~~~~~~~~
../devIocStatsWaveform.c:120:57: note: (near initialization for 'devWaveformStats.read_waveform')
../devIocStatsWaveform.c:105:13: note: 'waveform_read' declared here
105 | static long waveform_read(waveformRecord *);
| ^~~~~~~~~~~~~
I am wanting to test #61 with RTEMS 7. I am seeing build errors. They are: