From 5b6f68cf724009a7de11a6dc633007af63d2a3af Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 5 Jul 2020 15:24:44 -0700 Subject: [PATCH] [wpilib] Add parentheses to MSVC #pragma message (#2569) --- wpilibc/src/main/native/include/frc/WPILib.h | 4 ++-- wpiutil/src/main/native/include/units/units.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/WPILib.h b/wpilibc/src/main/native/include/frc/WPILib.h index 9d62514e18..634d0f59ea 100644 --- a/wpilibc/src/main/native/include/frc/WPILib.h +++ b/wpilibc/src/main/native/include/frc/WPILib.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2008-2020 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. */ @@ -9,7 +9,7 @@ // clang-format off #ifdef _MSC_VER -#pragma message "warning: Including this header drastically increases compilation times and is bad style. Include only what you use instead." +#pragma message("warning: Including this header drastically increases compilation times and is bad style. Include only what you use instead.") #else #warning "Including this header drastically increases compilation times and is bad style. Include only what you use instead." #endif diff --git a/wpiutil/src/main/native/include/units/units.h b/wpiutil/src/main/native/include/units/units.h index 34273d68c7..8d47679e8e 100644 --- a/wpiutil/src/main/native/include/units/units.h +++ b/wpiutil/src/main/native/include/units/units.h @@ -9,7 +9,7 @@ // clang-format off #ifdef _MSC_VER -#pragma message "warning: Including this header drastically increases compilation times and is bad style. Include only what you use instead." +#pragma message("warning: Including this header drastically increases compilation times and is bad style. Include only what you use instead.") #else #warning "Including this header drastically increases compilation times and is bad style. Include only what you use instead." #endif