On Thu, Jul 30, 2015 at 05:57:13PM -0700, Joe Stringer wrote:
> On 30 July 2015 at 17:46, Ben Pfaff <b...@nicira.com> wrote:
> > Until now, Clang 3.7+ and sufficiently new versions of GCC complained about
> > TYPE_MAXIMUM(int), etc., because it shifts a negative value.  This commit
> > fixes the problem.
> >
> > This commit also gives these macros sensible definitions for _Bool, and
> > documents all of them.
> >
> > Reported-by: Joe Stringer <joestrin...@nicira.com>
> > Signed-off-by: Ben Pfaff <b...@nicira.com>
> 
> This fixes the build for me. I assume we have a test to determine this
> is performing the correct behaviour?

Yes, the "type properties" test run by make check.  This commit modifies
the .c file that implements that test, and it does pass.

> Acked-by: Joe Stringer <joestrin...@nicira.com>

Thanks, I'll apply this to master and branch-2.4 in a minute.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to