You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Hunyadi (Jira)" <ji...@apache.org> on 2021/02/18 13:39:00 UTC
[jira] [Assigned] (MINIFICPP-1352) Enable -Wall and -Wextra behind
a CMake flag and resolve related warnings
[ https://issues.apache.org/jira/browse/MINIFICPP-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Hunyadi reassigned MINIFICPP-1352:
---------------------------------------
Assignee: Gabor Gyimesi (was: Adam Hunyadi)
> Enable -Wall and -Wextra behind a CMake flag and resolve related warnings
> -------------------------------------------------------------------------
>
> Key: MINIFICPP-1352
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1352
> Project: Apache NiFi MiNiFi C++
> Issue Type: Task
> Affects Versions: 0.7.0
> Reporter: Adam Hunyadi
> Assignee: Gabor Gyimesi
> Priority: Minor
> Labels: MiNiFi-CPP-Hygiene
> Fix For: 1.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> *Background:*
> The compiler flags -Wall and -Wextra can potentially show important issues with our current codebase.
>
> *Proposal:*
> As we do not want to be dependent on what exactly is involved in the compiler implementations of -Wall and -Wextra for building a project with a new compiler. We should:
> # Fix the warnings reported by the current major compilers.
> # Allow the ones currently listed one by one.
> # Add a cmake flag to turn -Wall and -Wextra on.
> # Have at least a CI job with clang defined that runs all the -Wall and -Wextra.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)