Adam Hunyadi created MINIFICPP-1352:
---------------------------------------

             Summary: 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: Adam Hunyadi
             Fix For: 1.0.0


*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)

Reply via email to