comparison with string literal is usnpecified

Bug #1323577 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
address-book-app
Fix Released
Medium
Renato Araujo Oliveira Filho
address-book-app (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The compilation shows a warning:

src/app/addressbookapp.cpp: In function ‘QString importPath(const QString&)’:
/home/elopio/workspace/canonical/address-book-app/experimental/qmltest1/src/app/addressbookapp.cpp:71:40: warning: comparison with string literal results in unspecified behaviour [-Waddress]
     } else if (QT_EXTRA_IMPORTS_DIR != ""){

To reproduce:
mkdir build
cd build
cmake ..
make -j 8

Related branches

Leo Arias (elopio)
summary: - comparison with string literal
+ comparison with string literal is usnpecified
tags: added: rtm14
Changed in address-book-app:
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → Medium
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~phablet-team/address-book-app/staging at revision 200, scheduled for release in address-book-app, milestone Unknown

Changed in address-book-app:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package address-book-app - 0.2+14.10.20140704-0ubuntu1

---------------
address-book-app (0.2+14.10.20140704-0ubuntu1) utopic; urgency=low

  [ Tarmac ]
  * Implemented MostCalledContactsModel in C++ as a proxy model for
    HistoryEventModel;. Enabled share button again. Fixed build warning:
    comparison with string literal results in unspecified behavior;.
    Implemented swipe to delete. (LP: #1323577)

  [ CI bot ]
  * Resync trunk

  [ Renato Araujo Oliveira Filho ]
  * Implemented MostCalledContactsModel in C++ as a proxy model for
    HistoryEventModel;. Enabled share button again. Fixed build warning:
    comparison with string literal results in unspecified behavior;.
    Implemented swipe to delete. (LP: #1323577)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 04 Jul 2014 14:55:34 +0000

Changed in address-book-app (Ubuntu):
status: New → Fix Released
Changed in address-book-app:
status: Fix Committed → 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.