Re: No new line at the end of file
Re: No new line at the end of file
- Subject: Re: No new line at the end of file
- From: j o a r <email@hidden>
- Date: Mon, 18 Sep 2006 07:41:02 +0200
On 18 sep 2006, at 06.02, Apparao wrote:
Why the compiler throws a warning "No newline at the end of file",
if i don't provide new line after @end directive. What is the use
of this warning?.
According to the GCC man page:
====
-Wnewline-eof
Warn about files missing a newline at the end of the
file. (APPLE
ONLY)
====
Many options have long names starting with -f or with -W---for
example,
-fforce-mem, -fstrength-reduce, -Wformat and so on. Most of
these have
both positive and negative forms; the negative form of -ffoo
would be
-fno-foo. This manual documents only one of these two forms,
whichever
one is not the default.
====
As this warning is not enabled by default (as far as I can tell), you
must have enabled it, or are running some non-standard configuration?
Interesting that it's an "(APPLE ONLY)" option. What does that mean?
That you can only get the warning on Apple's GCC, or that Apple's GCC
is the only one with an option to control the warning?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden