Tool/software: TI C/C++ Compiler
Hi,
In customer codes, there are mixed function declarations.
One is K&R style:
int fuc (argc) int argc { return argc; }
Another is ANCI-C style:
int fuc(int argc) { return argc; }
Customer wants to detect all K&R style declarations and re-write them to ANSI-C style.
Is it possible to specify TI ARM/DSP compilers to detect these declarations as errors?
And is there a list of all diagnostic num so that customer can solve similar questions by themselves ?
Thanks and regards,
Koichiro Tashiro