Bug #50133
src/log/LogClock.h Preprocessor logic fails on gcc 10
% 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