Skip to content

Conversation

@mhucka
Copy link
Member

@mhucka mhucka commented Feb 7, 2026

Builds were producing a great number of warnings like this:

cc1plus: warning: command-line option '-Wno-deprecated-non-prototype' is valid for C/ObjC but not for C++

These warnings came from a build option in the .bazelrc file written by configure.sh, specifically the application of -Wno-deprecated-non-prototype to C++ files in external dependencies even though the flag is only valid for C. This PR changes the Bazel build per_file_copt and host_per_file_copt regexes for -Wno-deprecated-non-prototype from external/.* to external/.*[.]c$ to target only C source files.

@mhucka mhucka added area/health Involves general matters of project configuration, health, maintenance, and similar concerns area/c++ Involves C++ code labels Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/c++ Involves C++ code area/health Involves general matters of project configuration, health, maintenance, and similar concerns

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants