[webkit-dev] unwritten rules of webkit style

Eric Seidel eric at webkit.org
Wed Sep 2 23:30:15 PDT 2009


It's a warning spit out from the compiler, diff, and other unix tools.
http://stackoverflow.com/questions/72271/no-newline-at-end-of-file-compiler-warning
is one explanation as to why gcc might output that warning (which turns into
an error due to the mac build treaing all warnings as errors).

-eric

On Thu, Sep 3, 2009 at 7:18 AM, Brent Fulgham <bfulgham at gmail.com> wrote:

>
> On Sep 2, 2009, at 9:46 AM, Peter Kasting wrote:
>
> *Misc*
>> Files who should end with newlines.
>>
>
> s/who//.  In fact it might be clearer to say "Files should end with a
> trailing newline".
>
>
> I always follow this rule, but I don't remember why it came to exist.  Is
> this convention needed for source control or something?
>
> -Brent
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090903/4c8479dc/attachment.html>


More information about the webkit-dev mailing list