Re: [PATCH] Warning for main returning a bool.

2016-11-28 Thread Richard Smith via cfe-commits
n" <aa...@aaronballman.com> >> >> To: "Hal Finkel" <hfin...@anl.gov> >> >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org>, "Joshua Hurwitz" < >> hurwi...@google.com> >> >> Sent: Tuesda

Re: [PATCH] Warning for main returning a bool.

2016-11-28 Thread Joshua Hurwitz via cfe-commits
t; > - Original Message - > >> From: "Aaron Ballman" <aa...@aaronballman.com> > >> To: "Hal Finkel" <hfin...@anl.gov> > >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org>, "Joshua Hurwitz" < > hurwi...@goo

Re: [PATCH] Warning for main returning a bool.

2016-11-21 Thread Richard Smith via cfe-commits
l Finkel" <hfin...@anl.gov> >> >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org>, "Joshua Hurwitz" < >> hurwi...@google.com> >> >> Sent: Tuesday, November 15, 2016 4:42:05 PM >> >> Subject: Re: [PATCH] Warning for main re

Re: [PATCH] Warning for main returning a bool.

2016-11-21 Thread David Blaikie via cfe-commits
ginal Message - > >> >> From: "Aaron Ballman via cfe-commits" <cfe-commits@lists.llvm.org> > >> >> To: "Joshua Hurwitz" <hurwi...@google.com> > >> >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org> > >> >

Re: [PATCH] Warning for main returning a bool.

2016-11-21 Thread Joshua Hurwitz via cfe-commits
-commits" <cfe-commits@lists.llvm.org>, "Joshua Hurwitz" < > hurwi...@google.com> > >> Sent: Tuesday, November 15, 2016 4:42:05 PM > >> Subject: Re: [PATCH] Warning for main returning a bool. > >> > >> On Tue, Nov 15, 2016 at 5:22 PM,

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Richard Smith via cfe-commits
com> > >> To: "Hal Finkel" <hfin...@anl.gov> > >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org>, "Joshua Hurwitz" < > hurwi...@google.com> > >> Sent: Tuesday, November 15, 2016 4:42:05 PM > >>

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Aaron Ballman via cfe-commits
s.llvm.org>, "Joshua Hurwitz" >> <hurwi...@google.com> >> Sent: Tuesday, November 15, 2016 4:42:05 PM >> Subject: Re: [PATCH] Warning for main returning a bool. >> >> On Tue, Nov 15, 2016 at 5:22 PM, Hal Finkel <hfin...@anl.gov> wrote: >&

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Hal Finkel via cfe-commits
commits@lists.llvm.org> > >> To: "Joshua Hurwitz" <hurwi...@google.com> > >> Cc: "cfe-commits" <cfe-commits@lists.llvm.org> > >> Sent: Tuesday, November 15, 2016 12:17:28 PM > >> Subject: Re: [PATCH] Warning for main returning a bool. &

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Aaron Ballman via cfe-commits
mits" <cfe-commits@lists.llvm.org> >> Sent: Tuesday, November 15, 2016 12:17:28 PM >> Subject: Re: [PATCH] Warning for main returning a bool. >> >> On Fri, Oct 14, 2016 at 1:17 PM, Joshua Hurwitz via cfe-commits >> <cfe-commits@lists.llvm.org>

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Hal Finkel via cfe-commits
- Original Message - > From: "Aaron Ballman via cfe-commits" <cfe-commits@lists.llvm.org> > To: "Joshua Hurwitz" <hurwi...@google.com> > Cc: "cfe-commits" <cfe-commits@lists.llvm.org> > Sent: Tuesday, November 15, 2016 12:17:28

Re: [PATCH] Warning for main returning a bool.

2016-11-15 Thread Aaron Ballman via cfe-commits
On Fri, Oct 14, 2016 at 1:17 PM, Joshua Hurwitz via cfe-commits wrote: > See attached. > > Returning a bool from main is a special case of return type mismatch. The > common convention when returning a bool is that 'true' (== 1) indicates > success and 'false' (== 0)

Re: [PATCH] Warning for main returning a bool.

2016-11-13 Thread Joshua Hurwitz via cfe-commits
Friendly ping. Any further thoughts on this suggested warning? On Sat, Nov 5, 2016 at 1:48 PM Manuel Klimek wrote: > +richard > > On Fri, Oct 14, 2016 at 10:18 AM Joshua Hurwitz via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > > See attached. > > Returning a bool from

Re: [PATCH] Warning for main returning a bool.

2016-11-07 Thread Manuel Klimek via cfe-commits
On Sun, Nov 6, 2016 at 1:18 AM Michał Górny via cfe-commits < cfe-commits@lists.llvm.org> wrote: > On Fri, 14 Oct 2016 17:17:59 + > Joshua Hurwitz via cfe-commits wrote: > > > See attached. > > > > Returning a bool from main is a special case of return type

Re: [PATCH] Warning for main returning a bool.

2016-11-06 Thread Michał Górny via cfe-commits
On Fri, 14 Oct 2016 17:17:59 + Joshua Hurwitz via cfe-commits wrote: > See attached. > > Returning a bool from main is a special case of return type mismatch. The > common convention when returning a bool is that 'true' (== 1) indicates > success and 'false' (==

Re: [PATCH] Warning for main returning a bool.

2016-11-05 Thread Manuel Klimek via cfe-commits
+richard On Fri, Oct 14, 2016 at 10:18 AM Joshua Hurwitz via cfe-commits < cfe-commits@lists.llvm.org> wrote: > See attached. > > Returning a bool from main is a special case of return type mismatch. The > common convention when returning a bool is that 'true' (== 1) indicates > success and