Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shadow warnings in application code and renforce CI build #440

Merged
merged 2 commits into from
Nov 28, 2022

Commits on Nov 23, 2022

  1. apps: Fix warnings about declaration of shadows variables

    fix warnings reported by gcc with compilation flag '-Wshadow'
    
    Signed-off-by: Arnaud Pouliquen <[email protected]>
    arnopo committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    b3a6628 View commit details
    Browse the repository at this point in the history
  2. CI: add more build warning checks and force them to error.

    Add CMAKE_C_FLAGS warnings to highlight potential issue:
    "-Wall -Wextra -Wshadow -Wunused-but-set-variable"
    And force warning as error with "-Werror"
    
    Signed-off-by: Arnaud Pouliquen <[email protected]>
    arnopo committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    2778ebc View commit details
    Browse the repository at this point in the history