Project

General

Profile

Actions

Bug #55977

closed

need to disable -Werror when building PMDK

Added by Ilya Dryomov almost 2 years ago. Updated over 1 year ago.

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

0%

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

Description

With WITH_RBD_RWL=ON, pacific "make check" build fails on a nuisance -Werror=array-parameter= error:

uuid.c:56:35: error: argument 1 of type 'const char *' declared as a pointer [-Werror=array-parameter=]
   56 | util_uuid_from_string(const char *uuid, struct uuid *ud)
      |                       ~~~~~~~~~~~~^~~~
In file included from uuid.c:11:
uuid.h:39:38: note: previously declared as an array 'const char[37]'
   39 | int util_uuid_from_string(const char uuid[POOL_HDR_UUID_STR_LEN],
      |                           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~


Related issues 2 (0 open2 closed)

Copied to devops - Backport #56001: quincy: need to disable -Werror when building PMDKResolvedIlya DryomovActions
Copied to devops - Backport #56002: pacific: need to disable -Werror when building PMDKResolvedIlya DryomovActions
Actions #1

Updated by Ilya Dryomov almost 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to pacific,quincy
  • Pull request ID set to 46600
Actions #2

Updated by Ilya Dryomov almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56001: quincy: need to disable -Werror when building PMDK added
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56002: pacific: need to disable -Werror when building PMDK added
Actions #5

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #6

Updated by Ilya Dryomov over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF