title: what is the meaning of "warning : No new line at end of file"?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/72271/no-newline-at-end-of-file-compiler-warning">&ldquo;No newline at end of file&rdquo; compiler warning</a>  </p>
  </blockquote>
  
  
  
  <p>i am a Linux user and use gcc at work But at home i have installed cygwin package and using its <code>gcc</code> on my windows machine.</p>
  
  <p>when ever i make any .c file and run its shows following warning </p>
  
  <pre><code>Warning : No new line at end of file 
  </code></pre>
  
  <p>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.</p>
  
  <p>so </p>
  
  <p><strong>why i am getting this warning? what does it mean ?</strong></p>
  
  <p><strong>Edit</strong> </p>
  
  <p>Whats the need or whats the advantage of doing this ?</p>
  
  <p>if it is part of c programming standard then why it doesnt give any error while working in linux ?</p>