Project

General

Profile

Bug #10002

librcm: bitwise comparison always evaluates to false

Added by Toomas Soome 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-11-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
gcc8

Description

Issue found by gcc 8 build:

    ../librcm.c:139:46: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
          ((flag & RCM_DR_OPERATION|RCM_MOD_INFO) == 0)) {
                                                  ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 8 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit f111a354011b4b6a93d3b8d94aa06a982d8c7686

commit  f111a354011b4b6a93d3b8d94aa06a982d8c7686
Author: Toomas Soome <tsoome@me.com>
Date:   2018-12-03T14:18:48.000Z

    10002 librcm: bitwise comparison always evaluates to false
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF