Skip to content

Add Build System Warning Flags #11

Description

@LinuxMainframe

Low: Add Build System Warning Flags

Priority: LOW

Type: Build System

Location

CMakeLists.txt lines 78-82

Issue

Missing important compiler warning flags:

target_compile_options(${target} PRIVATE
    -Wall
    -Wextra
    -Wpedantic
    -Wno-unused-parameter
)

Impact

  • Potential bugs might not be caught at compile time
  • Missing checks for common C pitfalls
  • Less portable code

Note: Some warnings (like -Wconversion) might produce many warnings initially. Consider enabling them incrementally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LOWNot important, nor necessary. Probably a QoL improvement.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions