Commit aa5bd2c
authored
chore: enable platform-specific configs and silence C++ warnings in .bazelrc (#3738)
Silence spammy C++ compile warnings in build logs to make it easier
to identify actual issues. The warnings were primarily deprecation
notices from external dependencies (like protobuf) observed during
both target and tool compilation.
Platform-specific configurations were enabled because C++ compiler flags
(copts) differ significantly for Windows (which typically uses MSVC)
compared to Linux and macOS (which use GCC/Clang). Applying the warning-
silencing flags globally would break Windows builds. This approach
allows us to safely ignore these specific warnings only on platforms
where the flags are supported.1 parent 1567357 commit aa5bd2c
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
58 | 75 | | |
59 | 76 | | |
60 | 77 | | |
0 commit comments