Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.21
-
None
-
Fedora 26
-
10.1.22
Description
Hello,
there is a discussion on the RHBZ, about -Werror option.
The conclusion, from my POV as a maintainer is, that -Werror flag is should be removed from stable released tarballs. It breaks things, when teh environments is changing, which is quite often in Fedora.
One way or another, I'd be gratefull for a fast decission (if I can wait for next version, or If I should fix it through SPEC file downstream way)
In comment 14 the observation is pointed out, that -Werror is maybe currently used only for PerconaFT sub-directory.
Attachments
Issue Links
- relates to
-
MDEV-14223 clang build failure in PerconaFT
-
- Closed
-
The problem is, that with the option used, MariaDB can't be compiled for x86_64 architecture on current Fedora rawhide (will be F26), because one of the warnings is marked as error.
However, this line remove the option from PerconaFT cmake setup and make the whole MariaDB able to compile:
Here is the error:
d->ulen = 0;
~~~~~~~~^~~
^~~~
cc1plus: all warnings being treated as errors