This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning flags for compatibility with clang.
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Pedro Giffuni <giffunip at tutopia dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 May 2014 19:58:16 -0700
- Subject: Re: Warning flags for compatibility with clang.
- Authentication-results: sourceware.org; auth=none
- References: <537D6602 dot 7010102 at tutopia dot com>
On Wed, May 21, 2014 at 7:50 PM, Pedro Giffuni <giffunip@tutopia.com> wrote:
> Hello;
>
> FWIW, I have been looking at some changes from Apple's GCC and these two
> small changes should be interesting to have in the official gcc.
>
> Implement -Wmost for compatibility with clang.
> http://svnweb.freebsd.org/base?view=revision&revision=259920
>
> Add Apple compatible -Wnewline-eof
> http://svnweb.freebsd.org/base?view=revision&revision=259555
There is an older patch for this:
https://gcc.gnu.org/ml/gcc-patches/2007-04/msg00457.html
I really don't like it and hate editors which don't add a newline at
the end of the file.
Thanks,
Andrew Pinski
>
> I don't own them but I doubt any of them is copyrightable. Perhaps they are
> available in the old Apple branches that the FSF has control of.
>
> Regards,
>
> Pedro.