[
https://issues.apache.org/jira/browse/MINIFICPP-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Gyimesi resolved MINIFICPP-1352.
--------------------------------------
Resolution: Fixed
> 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: 7h 40m
> 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)