mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
This makes the build fail on warnings. It caught two out-of-bounds reads and a deprecation warning.
15 lines
430 B
C++
15 lines
430 B
C++
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
#include <fmt/core.h>
|
|
#include <hal/HALBase.h>
|
|
|
|
#include "WPILibVersion.h"
|
|
|
|
int main() {
|
|
fmt::print("Hello World\n");
|
|
fmt::print("{}\n", static_cast<int32_t>(HAL_GetRuntimeType()));
|
|
fmt::print("{}\n", GetWPILibVersion());
|
|
}
|