Files
allwpilib/wpilibc/src/dev/native/cpp/main.cpp
Thad House 9bcff37b93 Add HAL specific version of wpi_setError (#2055)
Cleans up error writing, and allows fewer headers to be included in many of the wpilibc cpp files.

This removes all usages of the hal/HAL.h header.
2019-11-08 22:53:20 -08:00

20 lines
730 B
C++

/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#include <iostream>
#include <hal/HALBase.h>
#include "WPILibVersion.h"
int main() {
std::cout << "Hello World" << std::endl;
std::cout << HAL_GetRuntimeType() << std::endl;
std::cout << GetWPILibVersion() << std::endl;
return 0;
}