mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Add missing compiler flags and fix warnings (#4889)
This makes the build fail on warnings. It caught two out-of-bounds reads and a deprecation warning.
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
|
||||
int main() {
|
||||
fmt::print("Hello World\n");
|
||||
fmt::print("{}\n", HAL_GetRuntimeType());
|
||||
fmt::print("{}\n", static_cast<int32_t>(HAL_GetRuntimeType()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user