Possible Duplicate:
“No newline at end of file” compiler warning
i am a Linux user and use gcc at work But at home i have installed cygwin package and using its gcc
on my windows machine.
when ever i make any .c file and run its shows following warning
Warning : No new line at end of file
when i add extra new line at the end of that c file warning disappeared. i haven't faced such warning while working with gcc in Linux.
so
why i am getting this warning? what does it mean ?
Edit
Whats the need or whats the advantage of doing this ?
if it is part of c programming standard then why it doesnt give any error while working in linux ?