I set up a project, have main(), Calibr_M.h and Calibr_M.c file, code as follow,
when I build it, always has a warning shows up:
Description Resource Path Location Type
C1858 Partial implicit parameter declaration main.c /TM800-2022/Sources line 304 C/C++ Problem Description Resource Path Location Type
C1440 This is causing previous message 1858 Calibr_M.h /TM800-2022/Project_Headers line 11 C/C++ Problem
include "mc9s08pa16.h"
#include "Calibr_M.h"
void main(void)
{
....
Calibration();
....
}
* Calibr_M.h * * Created on: Jun 7, 2022 * Author: Jim Wang */
#ifndef CALIBR_M_H_
#define CALIBR_M_H_
void Calibration();
#endif /* CALIBR_M_H_ */
* Calibr_M.c * * Created on: Jun 7, 2022 * Author: Jim Wang */
#include "Calibr_M.h"
#include <stdio.h>
void Calibration() {
}
HI @jimwang90
Please revise below highlight line of code to
void Calibration();
Please check if this can remove warning C1858 and C1440
Thanks,
Jun Zhang
what ?! Our code is identical.
Anyway I cut and paste it to replace my code, it is the same warning shows me !
Because I reproduced your problem on my side:
After this change, the warning disappears
This is the description and tip from help manual
For more, see CodeWarrior help.
Jun Zhang