Project

General

Profile

Bug #50133

src/log/LogClock.h Preprocessor logic fails on gcc 10

Added by Duncan Bellamy 17 days ago. Updated about 10 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The code:

#ifndef suseconds_t
typedef long suseconds_t;
#endif

Never detects suseconds_t with gcc 10 leading to multiple definitions, I tried changing to:

#if !defined(suseconds_t)

But it did not fix it.

History

#1 Updated by Loïc Dachary about 10 hours ago

  • Target version changed from v16.2.1 to v16.2.2

Also available in: Atom PDF