Project

General

Profile

Actions

Cleanup #20811

closed

warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]

Added by Amit Kumar almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
OSD
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

  1. pwd
    /root/ceph/build
  2. make -j4
    /root/ceph/src/osd/PGLog.h:29:43: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
    #define PGLOG_INDEXED_DUPS (1 << 3)
    ~~^~~~
    /root/ceph/src/osd/PGLog.h:29:43: note: in definition of macro ‘PGLOG_INDEXED_DUPS’
    #define PGLOG_INDEXED_DUPS (1 << 3)
Actions

Also available in: Atom PDF