When I compile C in Keil for Arm MSP432, it shows "Keil: iso c requires a translation unit to contain at least one declaration". Does anyone know how to fix that? Please help.
ThaoN said:Does anyone know how to fix that?
Provide at least one declaration in the translation unit.
(if you're not familiar with the terminology, you can always look it up; eg, https://en.wikipedia.org/wiki/Translation_unit_(programming) )