Add backwards compatibility shims for old wpiutil headers.

These generate a warning when included, then include the old header.

Note for GCC, #warning is used; this requires -std=gnu++14 instead of
-std=c++14 (otherwise the warning is treated as an error because #warning is
a GNU extension).  On MSVC, #pragma message is used, which is a bit
unsatisfactory as the message doesn't say where it was included from.

The llvm shim headers also include a llvm namespace shim.
This commit is contained in:
Peter Johnson
2018-04-29 23:36:18 -07:00
parent f84018af5f
commit a28832e52f
59 changed files with 1004 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/AlignOf.h is deprecated; include wpi/AlignOf.h instead"
#else
#warning "llvm/AlignOf.h is deprecated; include wpi/AlignOf.h instead"
#endif
#include "wpi/AlignOf.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/ArrayRef.h is deprecated; include wpi/ArrayRef.h instead"
#else
#warning "llvm/ArrayRef.h is deprecated; include wpi/ArrayRef.h instead"
#endif
#include "wpi/ArrayRef.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Compiler.h is deprecated; include wpi/Compiler.h instead"
#else
#warning "llvm/Compiler.h is deprecated; include wpi/Compiler.h instead"
#endif
#include "wpi/Compiler.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/ConvertUTF.h is deprecated; include wpi/ConvertUTF.h instead"
#else
#warning "llvm/ConvertUTF.h is deprecated; include wpi/ConvertUTF.h instead"
#endif
#include "wpi/ConvertUTF.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/DenseMap.h is deprecated; include wpi/DenseMap.h instead"
#else
#warning "llvm/DenseMap.h is deprecated; include wpi/DenseMap.h instead"
#endif
#include "wpi/DenseMap.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/DenseMapInfo.h is deprecated; include wpi/DenseMapInfo.h instead"
#else
#warning "llvm/DenseMapInfo.h is deprecated; include wpi/DenseMapInfo.h instead"
#endif
#include "wpi/DenseMapInfo.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/EpochTracker.h is deprecated; include wpi/EpochTracker.h instead"
#else
#warning "llvm/EpochTracker.h is deprecated; include wpi/EpochTracker.h instead"
#endif
#include "wpi/EpochTracker.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/FileSystem.h is deprecated; include wpi/FileSystem.h instead"
#else
#warning "llvm/FileSystem.h is deprecated; include wpi/FileSystem.h instead"
#endif
#include "wpi/FileSystem.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Format.h is deprecated; include wpi/Format.h instead"
#else
#warning "llvm/Format.h is deprecated; include wpi/Format.h instead"
#endif
#include "wpi/Format.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Hashing.h is deprecated; include wpi/Hashing.h instead"
#else
#warning "llvm/Hashing.h is deprecated; include wpi/Hashing.h instead"
#endif
#include "wpi/Hashing.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/IntrusiveRefCntPtr.h is deprecated; include wpi/IntrusiveRefCntPtr.h instead"
#else
#warning "llvm/IntrusiveRefCntPtr.h is deprecated; include wpi/IntrusiveRefCntPtr.h instead"
#endif
#include "wpi/IntrusiveRefCntPtr.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/MathExtras.h is deprecated; include wpi/MathExtras.h instead"
#else
#warning "llvm/MathExtras.h is deprecated; include wpi/MathExtras.h instead"
#endif
#include "wpi/MathExtras.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/None.h is deprecated; include wpi/None.h instead"
#else
#warning "llvm/None.h is deprecated; include wpi/None.h instead"
#endif
#include "wpi/None.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Optional.h is deprecated; include wpi/Optional.h instead"
#else
#warning "llvm/Optional.h is deprecated; include wpi/Optional.h instead"
#endif
#include "wpi/Optional.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Path.h is deprecated; include wpi/Path.h instead"
#else
#warning "llvm/Path.h is deprecated; include wpi/Path.h instead"
#endif
#include "wpi/Path.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/PointerLikeTypeTraits.h is deprecated; include wpi/PointerLikeTypeTraits.h instead"
#else
#warning "llvm/PointerLikeTypeTraits.h is deprecated; include wpi/PointerLikeTypeTraits.h instead"
#endif
#include "wpi/PointerLikeTypeTraits.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/STLExtras.h is deprecated; include wpi/STLExtras.h instead"
#else
#warning "llvm/STLExtras.h is deprecated; include wpi/STLExtras.h instead"
#endif
#include "wpi/STLExtras.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/SmallPtrSet.h is deprecated; include wpi/SmallPtrSet.h instead"
#else
#warning "llvm/SmallPtrSet.h is deprecated; include wpi/SmallPtrSet.h instead"
#endif
#include "wpi/SmallPtrSet.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/SmallSet.h is deprecated; include wpi/SmallSet.h instead"
#else
#warning "llvm/SmallSet.h is deprecated; include wpi/SmallSet.h instead"
#endif
#include "wpi/SmallSet.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/SmallString.h is deprecated; include wpi/SmallString.h instead"
#else
#warning "llvm/SmallString.h is deprecated; include wpi/SmallString.h instead"
#endif
#include "wpi/SmallString.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/SmallVector.h is deprecated; include wpi/SmallVector.h instead"
#else
#warning "llvm/SmallVector.h is deprecated; include wpi/SmallVector.h instead"
#endif
#include "wpi/SmallVector.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/StringExtras.h is deprecated; include wpi/StringExtras.h instead"
#else
#warning "llvm/StringExtras.h is deprecated; include wpi/StringExtras.h instead"
#endif
#include "wpi/StringExtras.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/StringMap.h is deprecated; include wpi/StringMap.h instead"
#else
#warning "llvm/StringMap.h is deprecated; include wpi/StringMap.h instead"
#endif
#include "wpi/StringMap.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/StringRef.h is deprecated; include wpi/StringRef.h instead"
#else
#warning "llvm/StringRef.h is deprecated; include wpi/StringRef.h instead"
#endif
#include "wpi/StringRef.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/Twine.h is deprecated; include wpi/Twine.h instead"
#else
#warning "llvm/Twine.h is deprecated; include wpi/Twine.h instead"
#endif
#include "wpi/Twine.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/WindowsError.h is deprecated; include wpi/WindowsError.h instead"
#else
#warning "llvm/WindowsError.h is deprecated; include wpi/WindowsError.h instead"
#endif
#include "wpi/WindowsError.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/iterator_range.h is deprecated; include wpi/iterator_range.h instead"
#else
#warning "llvm/iterator_range.h is deprecated; include wpi/iterator_range.h instead"
#endif
#include "wpi/iterator_range.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/raw_os_ostream.h is deprecated; include wpi/raw_os_ostream.h instead"
#else
#warning "llvm/raw_os_ostream.h is deprecated; include wpi/raw_os_ostream.h instead"
#endif
#include "wpi/raw_os_ostream.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/raw_ostream.h is deprecated; include wpi/raw_ostream.h instead"
#else
#warning "llvm/raw_ostream.h is deprecated; include wpi/raw_ostream.h instead"
#endif
#include "wpi/raw_ostream.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: llvm/type_traits.h is deprecated; include wpi/type_traits.h instead"
#else
#warning "llvm/type_traits.h is deprecated; include wpi/type_traits.h instead"
#endif
#include "wpi/type_traits.h"
namespace llvm = wpi;

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/Base64.h is deprecated; include wpi/Base64.h instead"
#else
#warning "support/Base64.h is deprecated; include wpi/Base64.h instead"
#endif
#include "wpi/Base64.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/ConcurrentQueue.h is deprecated; include wpi/ConcurrentQueue.h instead"
#else
#warning "support/ConcurrentQueue.h is deprecated; include wpi/ConcurrentQueue.h instead"
#endif
#include "wpi/ConcurrentQueue.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/HttpUtil.h is deprecated; include wpi/HttpUtil.h instead"
#else
#warning "support/HttpUtil.h is deprecated; include wpi/HttpUtil.h instead"
#endif
#include "wpi/HttpUtil.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/HttpUtil.inl is deprecated; include wpi/HttpUtil.inl instead"
#else
#warning "support/HttpUtil.inl is deprecated; include wpi/HttpUtil.inl instead"
#endif
#include "wpi/HttpUtil.inl"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/Logger.h is deprecated; include wpi/Logger.h instead"
#else
#warning "support/Logger.h is deprecated; include wpi/Logger.h instead"
#endif
#include "wpi/Logger.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/SafeThread.h is deprecated; include wpi/SafeThread.h instead"
#else
#warning "support/SafeThread.h is deprecated; include wpi/SafeThread.h instead"
#endif
#include "wpi/SafeThread.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/UidVector.h is deprecated; include wpi/UidVector.h instead"
#else
#warning "support/UidVector.h is deprecated; include wpi/UidVector.h instead"
#endif
#include "wpi/UidVector.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/atomic_static.h is deprecated; include wpi/atomic_static.h instead"
#else
#warning "support/atomic_static.h is deprecated; include wpi/atomic_static.h instead"
#endif
#include "wpi/atomic_static.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/condition_variable.h is deprecated; include wpi/condition_variable.h instead"
#else
#warning "support/condition_variable.h is deprecated; include wpi/condition_variable.h instead"
#endif
#include "wpi/condition_variable.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/deprecated.h is deprecated; include wpi/deprecated.h instead"
#else
#warning "support/deprecated.h is deprecated; include wpi/deprecated.h instead"
#endif
#include "wpi/deprecated.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/hostname.h is deprecated; include wpi/hostname.h instead"
#else
#warning "support/hostname.h is deprecated; include wpi/hostname.h instead"
#endif
#include "wpi/hostname.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/jni_util.h is deprecated; include wpi/jni_util.h instead"
#else
#warning "support/jni_util.h is deprecated; include wpi/jni_util.h instead"
#endif
#include "wpi/jni_util.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/json.h is deprecated; include wpi/json.h instead"
#else
#warning "support/json.h is deprecated; include wpi/json.h instead"
#endif
#include "wpi/json.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/leb128.h is deprecated; include wpi/leb128.h instead"
#else
#warning "support/leb128.h is deprecated; include wpi/leb128.h instead"
#endif
#include "wpi/leb128.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/mutex.h is deprecated; include wpi/mutex.h instead"
#else
#warning "support/mutex.h is deprecated; include wpi/mutex.h instead"
#endif
#include "wpi/mutex.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/priority_condition_variable.h is deprecated; include wpi/priority_condition_variable.h instead"
#else
#warning "support/priority_condition_variable.h is deprecated; include wpi/priority_condition_variable.h instead"
#endif
#include "wpi/priority_condition_variable.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/priority_mutex.h is deprecated; include wpi/priority_mutex.h instead"
#else
#warning "support/priority_mutex.h is deprecated; include wpi/priority_mutex.h instead"
#endif
#include "wpi/priority_mutex.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/raw_istream.h is deprecated; include wpi/raw_istream.h instead"
#else
#warning "support/raw_istream.h is deprecated; include wpi/raw_istream.h instead"
#endif
#include "wpi/raw_istream.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/raw_socket_istream.h is deprecated; include wpi/raw_socket_istream.h instead"
#else
#warning "support/raw_socket_istream.h is deprecated; include wpi/raw_socket_istream.h instead"
#endif
#include "wpi/raw_socket_istream.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/raw_socket_ostream.h is deprecated; include wpi/raw_socket_ostream.h instead"
#else
#warning "support/raw_socket_ostream.h is deprecated; include wpi/raw_socket_ostream.h instead"
#endif
#include "wpi/raw_socket_ostream.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/sha1.h is deprecated; include wpi/sha1.h instead"
#else
#warning "support/sha1.h is deprecated; include wpi/sha1.h instead"
#endif
#include "wpi/sha1.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: support/timestamp.h is deprecated; include wpi/timestamp.h instead"
#else
#warning "support/timestamp.h is deprecated; include wpi/timestamp.h instead"
#endif
#include "wpi/timestamp.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/NetworkAcceptor.h is deprecated; include wpi/NetworkAcceptor.h instead"
#else
#warning "tcpsockets/NetworkAcceptor.h is deprecated; include wpi/NetworkAcceptor.h instead"
#endif
#include "wpi/NetworkAcceptor.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/NetworkStream.h is deprecated; include wpi/NetworkStream.h instead"
#else
#warning "tcpsockets/NetworkStream.h is deprecated; include wpi/NetworkStream.h instead"
#endif
#include "wpi/NetworkStream.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/SocketError.h is deprecated; include wpi/SocketError.h instead"
#else
#warning "tcpsockets/SocketError.h is deprecated; include wpi/SocketError.h instead"
#endif
#include "wpi/SocketError.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/TCPAcceptor.h is deprecated; include wpi/TCPAcceptor.h instead"
#else
#warning "tcpsockets/TCPAcceptor.h is deprecated; include wpi/TCPAcceptor.h instead"
#endif
#include "wpi/TCPAcceptor.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/TCPConnector.h is deprecated; include wpi/TCPConnector.h instead"
#else
#warning "tcpsockets/TCPConnector.h is deprecated; include wpi/TCPConnector.h instead"
#endif
#include "wpi/TCPConnector.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: tcpsockets/TCPStream.h is deprecated; include wpi/TCPStream.h instead"
#else
#warning "tcpsockets/TCPStream.h is deprecated; include wpi/TCPStream.h instead"
#endif
#include "wpi/TCPStream.h"

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#ifdef _MSC_VER
#pragma message "warning: udpsockets/UDPClient.h is deprecated; include wpi/UDPClient.h instead"
#else
#warning "udpsockets/UDPClient.h is deprecated; include wpi/UDPClient.h instead"
#endif
#include "wpi/UDPClient.h"