[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with top-of-trunk
From: |
Akim Demaille |
Subject: |
Re: Problem with top-of-trunk |
Date: |
Mon, 22 Apr 2013 14:04:19 +0200 |
Le 19 avr. 2013 à 17:20, Akim Demaille <address@hidden> a écrit :
> Thanks for the report. I'll apply this, unless someone has a better
> idea.
>
> commit 7ba01e111c878291d8677db124eb4d7aef7c9541
> Author: Akim Demaille <address@hidden>
> Date: Fri Apr 19 17:13:07 2013 +0200
>
> tests: enable -Wsign-compare and fix corresponding warnings
>
> -Wsign-compare was disabled for bison's own code, following gnulib's
> approach. However, the generated parsers should not trigger such
> warnings.
>
> Reported by Efi Fogel.
> http://lists.gnu.org/archive/html/help-bison/2013-04/msg00018.html
>
> See also http://stackoverflow.com/questions/16101062 for the weird
> "-(unsigned)i" piece of code.
>
> * configure.ac (warn_tests): Enable -Wsign-compare.
> * data/location.cc (position::add_): New.
> (position::lines, position::columns): Use it.
> * tests/actions.at (AT_CHECK_PRINTER_AND_DESTRUCTOR): Fix signedness
> issues.
Installed.