fix ftbfs with GCC 5 (real issue in dee)

Bug #1428299 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dee (Ubuntu)
Fix Released
High
Unassigned

Bug Description

dee-transaction.c: In function 'dee_transaction_get_first_iter':
dee-transaction.c:236:59: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
 #define journal_iter_is_removed(jiter) jiter->change_type == CHANGE_TYPE_REMOVE
                                                           ^
/usr/include/glib-2.0/glib/gmacros.h:319:8: note: in definition of macro '_G_BOOLEAN_EXPR'
    if (expr) \
        ^
/usr/include/glib-2.0/glib/gtestutils.h:106:49: note: in expansion of macro 'G_LIKELY'
                                              if G_LIKELY (expr) ; else \
                                                 ^
dee-transaction.c:1245:7: note: in expansion of macro 'g_assert'
       g_assert (!journal_iter_is_removed (jiter));
       ^
dee-transaction.c:1245:18: note: in expansion of macro 'journal_iter_is_removed'
       g_assert (!journal_iter_is_removed (jiter));
                  ^
cc1: all warnings being treated as errors
Makefile:791: recipe for target 'libdee_1_0_la-dee-transaction.lo' failed
make[4]: *** [libdee_1_0_la-dee-transaction.lo] Error 1

Tags: ftbfs patch

Related branches

Revision history for this message
Matthias Klose (doko) wrote :
Matthias Klose (doko)
Changed in dee (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dee - 1.2.7+15.04.20150304-0ubuntu1

---------------
dee (1.2.7+15.04.20150304-0ubuntu1) vivid; urgency=medium

  [ Ken VanDine ]
  * Fix new warnings with GCC 5, patch thanks to Matthias Klose (LP:
    #1428299)
 -- CI Train Bot <email address hidden> Wed, 04 Mar 2015 21:43:44 +0000

Changed in dee (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.