[Openchrome-devel] [Bug 63006] New: via_lvds.c warning, char* compared to string literal

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 1 13:50:08 PDT 2013


          Priority: medium
            Bug ID: 63006
          Assignee: openchrome-devel at lists.freedesktop.org
           Summary: via_lvds.c warning, char* compared to string literal
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: max.oss.09 at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: git
         Component: Driver/openchrome
           Product: xorg

Created attachment 77290
  --> https://bugs.freedesktop.org/attachment.cgi?id=77290&action=edit
patch which does no longer emit the warning

gcc 4.7.2 issues a warning which makes the 'open suse build system' fail.
The conditional most probably will always be false.

via_lvds.c: In function 'via_lvds_detect':
via_lvds.c:1305:26: warning: comparison with string literal results in
unspecified behavior [-Waddress]

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20130401/27ea6c84/attachment.html>

More information about the Openchrome-devel mailing list