Files
allwpilib/wpilibc/src/dev/native/cpp/main.cpp
Tyler Veness f0fa8205ac 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.
2023-01-01 08:14:19 -08:00

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());
}