ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.33k stars 1.08k forks source link

CMSIS-DSP regressions: compiler warning "last line of file ends without a newline" #1233

Closed escherstair closed 3 years ago

escherstair commented 3 years ago

After upgrading from CMSIS-DSP from 1.8.0 to 1.9.0 I noticed an annoying regression. Some of the files inside CMSIS-DSP doesn't have an empty line at the end anymore. And so the compiler gives a warning warning: #1-D: last line of file ends without a newline Here is the list of these files:

Can you fix all of these warnings?

christophe0606 commented 3 years ago

@escherstair I'll correct it. Which compiler are you using ? I don't have those warnings with clang. I want to track it for the future.

escherstair commented 3 years ago

ARM Compiler 5 from Keil uVision 5.34

christophe0606 commented 3 years ago

It should be corrected in commit https://github.com/ARM-software/CMSIS_5/commit/347ca08b52808350c6328cd6a28f42f75dcddaad